need to select PropertyChangeMask on the leader window

This commit is contained in:
Havoc Pennington 2003-11-24 18:38:38 +00:00
parent 423b5f5f39
commit 4ccb120922

View File

@ -1727,6 +1727,7 @@ meta_create_offscreen_window (Display *xdisplay,
* (but on a display we are managing at least one screen for)
*/
attrs.override_redirect = True;
attrs.event_mask = PropertyChangeMask;
return XCreateWindow (xdisplay,
parent,
@ -1735,7 +1736,7 @@ meta_create_offscreen_window (Display *xdisplay,
CopyFromParent,
CopyFromParent,
CopyFromParent,
CWOverrideRedirect,
CWOverrideRedirect | CWEventMask,
&attrs);
}