]> git.sur5r.net Git - i3/i3/commitdiff
Remove expose event mask, expose events will not be generated in any case
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 3 Jan 2010 20:55:02 +0000 (21:55 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 3 Jan 2010 20:55:02 +0000 (21:55 +0100)
src/sighandler.c

index 5518daf141732b829a244a78188a01d5d7e7807a..8bfec4933d450c0b8f37cad371f7ef56b9f9ce1c 100644 (file)
@@ -107,7 +107,7 @@ static xcb_window_t open_input_window(xcb_connection_t *conn, Rect screen_rect,
         xcb_window_t win = xcb_generate_id(conn);
 
         uint32_t mask = 0;
-        uint32_t values[3];
+        uint32_t values[2];
 
         mask |= XCB_CW_BACK_PIXEL;
         values[0] = 0;
@@ -115,9 +115,6 @@ static xcb_window_t open_input_window(xcb_connection_t *conn, Rect screen_rect,
         mask |= XCB_CW_OVERRIDE_REDIRECT;
         values[1] = 1;
 
-        mask |= XCB_CW_EVENT_MASK;
-        values[2] = XCB_EVENT_MASK_EXPOSURE;
-
         /* center each popup on the specified screen */
         uint32_t x = screen_rect.x + ((screen_rect.width / 2) - (width/2)),
                  y = screen_rect.y + ((screen_rect.height / 2) - (height/2));