* mapped. See https://bugs.i3wm.org/1617 */
xcb_change_save_set(conn, XCB_SET_MODE_DELETE, con->window->id);
+ /* Stop receiving ShapeNotify events. */
+ if (shape_supported) {
+ xcb_shape_select_input(conn, con->window->id, false);
+ }
+
/* Ignore X11 errors for the ReparentWindow request.
* X11 Errors are returned when the window was already destroyed */
add_ignore_event(cookie.sequence, 0);
x_con_kill(con);
if (ws == con) {
- DLOG("Closing a workspace container, updating EWMH atoms\n");
- ewmh_update_number_of_desktops();
- ewmh_update_desktop_names();
- ewmh_update_wm_desktop();
+ DLOG("Closing workspace container %s, updating EWMH atoms\n", ws->name);
+ ewmh_update_desktop_properties();
}
con_free(con);