From 157673be297d3e950adff0070b359536e266d18d Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 28 Apr 2003 22:33:19 +0000 Subject: minor screen num fix --- src/WinButtonTheme.cc | 5 ++--- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WinButtonTheme.cc,v 1.1 2003/04/28 22:30:34 fluxgen Exp $ +// $Id: WinButtonTheme.cc,v 1.2 2003/04/28 22:33:19 fluxgen Exp $ #include "WinButtonTheme.hh" @@ -60,8 +60,7 @@ setFromString(const char *str) { Display *dpy = FbTk::App::instance()->display(); Pixmap pm = 0, mask = 0; int retvalue = XpmReadFileToPixmap(dpy, - //!! TODO need the right root window - RootWindow(dpy, 0), + RootWindow(dpy, m_tm.screenNum()), const_cast(str), &pm, &mask, &xpm_attr); -- cgit v0.11.2