]> git.sur5r.net Git - i3/i3/blobdiff - src/bindings.c
Ensure that the "border" command uses logical pixels.
[i3/i3] / src / bindings.c
index 3463f8315304957f9d823a9bba6a6b4e94d3b36b..351a5862e7dfd292fae0cad234656c0429ec75fb 100644 (file)
@@ -164,10 +164,6 @@ void regrab_all_buttons(xcb_connection_t *conn) {
         xcb_grab_buttons(conn, con->window->id, grab_scrollwheel);
     }
 
-    /* Also grab the root window to allow bindings to work on there as well. */
-    xcb_ungrab_button(conn, XCB_BUTTON_INDEX_ANY, root, XCB_BUTTON_MASK_ANY);
-    xcb_grab_buttons(conn, root, grab_scrollwheel);
-
     xcb_ungrab_server(conn);
 }