diff options
author | fluxgen <fluxgen> | 2003-04-28 22:33:19 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-28 22:33:19 (GMT) |
commit | 157673be297d3e950adff0070b359536e266d18d (patch) | |
tree | 33e70389e9382e9fffad097d481bd8cb700bc8c0 /src | |
parent | 556b74b33332accd6fa9066182df2555c6abd9a4 (diff) | |
download | fluxbox_paul-157673be297d3e950adff0070b359536e266d18d.zip fluxbox_paul-157673be297d3e950adff0070b359536e266d18d.tar.bz2 |
minor screen num fix
Diffstat (limited to 'src')
-rw-r--r-- | src/WinButtonTheme.cc | 5 |
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); |