aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WinButtonTheme.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/WinButtonTheme.cc b/src/WinButtonTheme.cc
index 4a98f98..c67675e 100644
--- a/src/WinButtonTheme.cc
+++ b/src/WinButtonTheme.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: WinButtonTheme.cc,v 1.1 2003/04/28 22:30:34 fluxgen Exp $ 22// $Id: WinButtonTheme.cc,v 1.2 2003/04/28 22:33:19 fluxgen Exp $
23 23
24#include "WinButtonTheme.hh" 24#include "WinButtonTheme.hh"
25 25
@@ -60,8 +60,7 @@ setFromString(const char *str) {
60 Display *dpy = FbTk::App::instance()->display(); 60 Display *dpy = FbTk::App::instance()->display();
61 Pixmap pm = 0, mask = 0; 61 Pixmap pm = 0, mask = 0;
62 int retvalue = XpmReadFileToPixmap(dpy, 62 int retvalue = XpmReadFileToPixmap(dpy,
63 //!! TODO need the right root window 63 RootWindow(dpy, m_tm.screenNum()),
64 RootWindow(dpy, 0),
65 const_cast<char *>(str), 64 const_cast<char *>(str),
66 &pm, 65 &pm,
67 &mask, &xpm_attr); 66 &mask, &xpm_attr);