Bugfix: Correctly handle unmap, don’t apply attribute XCB_EVENT_MASK_BUTTON_PRESS

Those two fix problems seen with mplayer
This commit is contained in:
Michael Stapelberg
2009-02-14 19:55:18 +01:00
parent 9e4b7f35ca
commit d06fe8bc9e
3 changed files with 26 additions and 26 deletions

View File

@ -129,6 +129,10 @@ struct Client {
will reconfigure the client. */
bool force_reconfigure;
/* When reparenting a window, an unmap-notify is sent. As we delete windows when theyre
unmapped, we need to ignore that one. Therefore, this flag is set when reparenting. */
bool awaiting_useless_unmap;
/* XCB contexts */
xcb_window_t frame; /* Our window: The frame around the client */
xcb_gcontext_t titlegc; /* The titlebars graphic context inside the frame */