summaryrefslogtreecommitdiff
path: root/src/x11/window-x11-private.h
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2019-12-06 13:04:12 +0100
committerOlivier Fourdan <ofourdan@redhat.com>2020-01-16 09:22:25 +0100
commit10796e672619347848d0f66f40cd9cde32994e20 (patch)
tree5ee15dc492d37e48869a080165c5993c30eb2a92 /src/x11/window-x11-private.h
parent845157c11138ed189221f5c8164fb17945d1d493 (diff)
downloadmutter-10796e672619347848d0f66f40cd9cde32994e20.tar.gz
window/x11: Add flag to thaw commits after resize
To be able to thaw commits following a resize that might have frozen commits, to keep freezes and thaws even, we need a way to tell whether a repaint should also thaw commits. Add a flag to `MetaWindowX11` and the appropriate functions to set and query it. https://gitlab.gnome.org/GNOME/mutter/merge_requests/942
Diffstat (limited to 'src/x11/window-x11-private.h')
-rw-r--r--src/x11/window-x11-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/x11/window-x11-private.h b/src/x11/window-x11-private.h
index a073a5b8a..621609e3e 100644
--- a/src/x11/window-x11-private.h
+++ b/src/x11/window-x11-private.h
@@ -75,6 +75,9 @@ struct _MetaWindowX11Private
MetaIconCache icon_cache;
Pixmap wm_hints_pixmap;
Pixmap wm_hints_mask;
+
+ /* Freeze/thaw on resize (for Xwayland) */
+ gboolean thaw_after_paint;
};
G_END_DECLS