mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
window-x11: The x11 backend window is our window as well
Since commit 467465c99c
we use meta_stage even on x11 which sets
clutter_stage_set_user_resizable to FALSE.
This messes things up because we ought to ignore the properties on the window
but we apperently didn't.
There is no reason why we'd want to manage the stage window.
https://bugzilla.gnome.org/show_bug.cgi?id=734852
This commit is contained in:
parent
cbc92b847f
commit
38253a9f73
@ -48,6 +48,8 @@
|
||||
#include "session.h"
|
||||
#include "workspace-private.h"
|
||||
|
||||
#include "backends/x11/meta-backend-x11.h"
|
||||
|
||||
struct _MetaWindowX11Class
|
||||
{
|
||||
MetaWindowClass parent_class;
|
||||
@ -2800,6 +2802,12 @@ is_our_xwindow (MetaDisplay *display,
|
||||
if (xwindow == screen->composite_overlay_window)
|
||||
return TRUE;
|
||||
|
||||
{
|
||||
MetaBackendX11 *backend = META_BACKEND_X11 (meta_get_backend ());
|
||||
if (xwindow == meta_backend_x11_get_xwindow (backend))
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* Any windows created via meta_create_offscreen_window */
|
||||
if (attrs->override_redirect && attrs->x == -100 && attrs->y == -100 && attrs->width == 1 && attrs->height == 1)
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user