aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-04-28 22:33:19 (GMT)
committerfluxgen <fluxgen>2003-04-28 22:33:19 (GMT)
commit157673be297d3e950adff0070b359536e266d18d (patch)
tree33e70389e9382e9fffad097d481bd8cb700bc8c0
parent556b74b33332accd6fa9066182df2555c6abd9a4 (diff)
downloadfluxbox_paul-157673be297d3e950adff0070b359536e266d18d.zip
fluxbox_paul-157673be297d3e950adff0070b359536e266d18d.tar.bz2
minor screen num fix
-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);