screen: Name the guard window
So that extensons can recognize it, for the case where they want to watch the window list. https://bugzilla.gnome.org/show_bug.cgi?id=710346
This commit is contained in:
parent
c2b9155979
commit
4396ac809b
@ -477,6 +477,9 @@ create_guard_window (Display *xdisplay, MetaScreen *screen)
|
|||||||
CWEventMask|CWOverrideRedirect,
|
CWEventMask|CWOverrideRedirect,
|
||||||
&attributes);
|
&attributes);
|
||||||
|
|
||||||
|
/* https://bugzilla.gnome.org/show_bug.cgi?id=710346 */
|
||||||
|
XStoreName (xdisplay, guard_window, "mutter guard window");
|
||||||
|
|
||||||
{
|
{
|
||||||
unsigned char mask_bits[XIMaskLen (XI_LASTEVENT)] = { 0 };
|
unsigned char mask_bits[XIMaskLen (XI_LASTEVENT)] = { 0 };
|
||||||
XIEventMask mask = { XIAllMasterDevices, sizeof (mask_bits), mask_bits };
|
XIEventMask mask = { XIAllMasterDevices, sizeof (mask_bits), mask_bits };
|
||||||
|
Loading…
Reference in New Issue
Block a user