20 lines
714 B
Plaintext
20 lines
714 B
Plaintext
|
$OpenBSD: patch-src_handlers_c,v 1.11 2012/12/27 19:58:05 dcoppa Exp $
|
||
|
|
||
|
Bugfix: ignore ConfigureRequests for scratchpad windows
|
||
|
(upstream git commit 36b106a9d39727b06909113e3f11552f2f1b6abe)
|
||
|
|
||
|
--- src/handlers.c.orig Wed Dec 12 00:08:17 2012
|
||
|
+++ src/handlers.c Thu Dec 27 18:09:49 2012
|
||
|
@@ -349,6 +349,11 @@ static void handle_configure_request(xcb_configure_req
|
||
|
}
|
||
|
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) {
|