mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
Ignore client messages sent to override-redirect windows
If someone asks us to close, maximize, etc, an override-redirect window, just ignore the request. http://bugzilla.gnome.org/show_bug.cgi?id=582639
This commit is contained in:
parent
5518fee61c
commit
6516c19ec5
@ -5208,6 +5208,16 @@ meta_window_client_message (MetaWindow *window,
|
||||
|
||||
display = window->display;
|
||||
|
||||
if (window->override_redirect)
|
||||
{
|
||||
/* Don't warn here: we could warn on any of the messages below,
|
||||
* but we might also receive other client messages that are
|
||||
* part of protocols we don't know anything about. So, silently
|
||||
* ignoring is simplest.
|
||||
*/
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (event->xclient.message_type ==
|
||||
display->atom__NET_CLOSE_WINDOW)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user