]> git.sur5r.net Git - i3/i3/blobdiff - src/main.c
Bugfix: Correctly set the _NET_CLIENT_LIST_STACKING hint (fixes chromium tabbar)
[i3/i3] / src / main.c
index 54df5431e6b700a50ccb7e08604f98ba9b11c06e..5306774462f3a302ae07e6fd9b10d27ecfd96131 100644 (file)
@@ -81,6 +81,7 @@ static void xcb_check_cb(EV_P_ ev_check *w, int revents) {
                 ELOG("X11 Error received! sequence 0x%x, error_code = %d\n",
                      error->sequence, error->error_code);
             }
+            free(event);
             continue;
         }
 
@@ -396,7 +397,7 @@ int main(int argc, char *argv[]) {
 #include "atoms.xmacro"
 #undef xmacro
     };
-    xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A__NET_SUPPORTED, A_ATOM, 32, 15, supported_atoms);
+    xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A__NET_SUPPORTED, A_ATOM, 32, 16, supported_atoms);
     /* Set up the window manager’s name */
     xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A__NET_SUPPORTING_WM_CHECK, A_WINDOW, 32, 1, &root);
     xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A__NET_WM_NAME, A_UTF8_STRING, 8, strlen("i3"), "i3");