all repos — fluxbox @ 157673be297d3e950adff0070b359536e266d18d

custom fork of the fluxbox windowmanager

minor screen num fix
fluxgen fluxgen
commit

157673be297d3e950adff0070b359536e266d18d

parent

556b74b33332accd6fa9066182df2555c6abd9a4

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M src/WinButtonTheme.ccsrc/WinButtonTheme.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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 @@ xpm_attr.valuemask = 0;

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<char *>(str), &pm, &mask, &xpm_attr);