Ignore UnmapNotify events generated by reparenting

This commit is contained in:
Michael Stapelberg
2010-05-14 23:37:56 +02:00
parent 7adf921bc3
commit 8c5d824fa8
2 changed files with 9 additions and 0 deletions

View File

@ -171,6 +171,9 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
goto out;
}
LOG("ignoring sequence %d for reparenting!\n", rcookie.sequence);
add_ignore_event(rcookie.sequence);
xcb_get_property_reply_t *reply = xcb_get_property_reply(conn, state_cookie, NULL);
if (xcb_reply_contains_atom(reply, atoms[_NET_WM_STATE_FULLSCREEN]))
con_toggle_fullscreen(nc);