skip ConfigureNotify events with --force_xinerama

This prevents an i3 crash under certain conditions when running the tests.
This commit is contained in:
Michael Stapelberg
2017-10-03 10:00:55 +02:00
parent 7208df2d38
commit 8e528d2de8
3 changed files with 11 additions and 2 deletions

View File

@ -1264,6 +1264,9 @@ static void handle_configure_notify(xcb_configure_notify_event_t *event) {
}
DLOG("ConfigureNotify for root window 0x%08x\n", event->event);
if (force_xinerama) {
return;
}
randr_query_outputs();
}