mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00: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
3d81a1e5ec
commit
f7c595ff18
@ -5227,6 +5227,16 @@ meta_window_client_message (MetaWindow *window,
|
|||||||
|
|
||||||
display = window->display;
|
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 ==
|
if (event->xclient.message_type ==
|
||||||
display->atom__NET_CLOSE_WINDOW)
|
display->atom__NET_CLOSE_WINDOW)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user