]> git.sur5r.net Git - i3/i3/blobdiff - src/handlers.c
i3-nagbar: explicitly set cursor using libxcursor if available
[i3/i3] / src / handlers.c
index 6f08d25c5500f83a9079baef37ec7730e4344c9b..6cbc54f230d0dfc2864be17ed6fcf35e45e73461 100644 (file)
@@ -503,7 +503,7 @@ static void handle_unmap_notify_event(xcb_unmap_notify_event_t *event) {
         goto ignore_end;
     }
 
-    tree_close(con, DONT_KILL_WINDOW, false, false);
+    tree_close_internal(con, DONT_KILL_WINDOW, false, false);
     tree_render();
 
 ignore_end:
@@ -878,7 +878,7 @@ static void handle_client_message(xcb_client_message_event_t *event) {
             if (event->data.data32[0])
                 last_timestamp = event->data.data32[0];
 
-            tree_close(con, KILL_WINDOW, false, false);
+            tree_close_internal(con, KILL_WINDOW, false, false);
             tree_render();
         } else {
             DLOG("Couldn't find con for _NET_CLOSE_WINDOW request. (window = %d)\n", event->window);