Bugfix: Ignore ConfigureRequests for scratchpad windows (Thanks MeanEYE)

fixes #898
This commit is contained in:
Michael Stapelberg
2012-12-22 14:06:38 +01:00
parent 770ead6222
commit 36b106a9d3
2 changed files with 59 additions and 0 deletions

View File

@ -349,6 +349,11 @@ static void handle_configure_request(xcb_configure_request_event_t *event) {
}
Con *floatingcon = con->parent;
if (strcmp(con_get_workspace(floatingcon)->name, "__i3_scratch") == 0) {
DLOG("This is a scratchpad container, ignoring ConfigureRequest\n");
return;
}
Rect newrect = floatingcon->rect;
if (event->value_mask & XCB_CONFIG_WINDOW_X) {