all repos — fluxbox @ c702d683e08792d764f2f4fb2ac37900f5cf1b78

custom fork of the fluxbox windowmanager

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
commit

c702d683e08792d764f2f4fb2ac37900f5cf1b78

parent

041eacdfd58451d0d561f332e1cb3d17a0970cd1

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

jump to
M src/fluxbox.ccsrc/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)