all repos — fluxbox @ 7c628def006648c92ff4d94f9156fa410eb2b8aa

custom fork of the fluxbox windowmanager

context needs a "window", not the "screen", thanx Rob Stevens for reporting
mathias mathias
commit

7c628def006648c92ff4d94f9156fa410eb2b8aa

parent

33db9b21e250d5f35f89bc2523a83525b33d7075

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

jump to
M util/bsetroot.ccutil/bsetroot.cc

@@ -222,7 +222,7 @@ c.setPixel(BlackPixel(display(), screen));

FbRootWindow root(screen); - FbTk::GContext gc(screen); + FbTk::GContext gc(root); gc.setForeground(c); pixmaps[screen] = XCreatePixmap(display(),

@@ -290,7 +290,7 @@ f.setPixel(WhitePixel(display(), screen));

if (! b.isAllocated()) b.setPixel(BlackPixel(display(), screen)); - FbTk::GContext gc(screen); + FbTk::GContext gc(root); gc.setForeground(f); gc.setBackground(b);