Call XRRUpdateConfiguration before querying Xinerama As the manpage says: Clients must call back into Xlib using XRRUpdateConfiguration when screen configuration change notify events are generated (or root window configuration changes occur, to update Xlib's view of the resolution, size, rotation, reflection or subpixel order. Signed-off-by: Tomas Janousek <tomi@nomi.cz>
Tomas Janousek tomi@nomi.cz
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/fluxbox.cc
→
src/fluxbox.cc
@@ -844,6 +844,7 @@ default: {
#ifdef HAVE_RANDR if (e->type == m_randr_event_type) { + XRRUpdateConfiguration(e); // update root window size in screen BScreen *scr = searchScreen(e->xany.window); if (scr != 0)