display-x11: Unset tiled state if _GTK_EDGE_CONSTRAINTS is supported
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 4 Oct 2017 18:33:15 +0000 (15:33 -0300)
committerJeremy Bicha <jbicha@debian.org>
Wed, 4 Oct 2017 23:07:15 +0000 (00:07 +0100)
commit5ad2d0b1f9a85faaaab3d54639e3932d01d71f94
tree36f71e74c6d75ab777e7f296e4e14037efb0f256
parent6a09cd4c6a9db7029aaf2159d8e0a344981a2f5d
display-x11: Unset tiled state if _GTK_EDGE_CONSTRAINTS is supported

Commit c415bef5de introduced support for the new _GTK_EDGE_CONSTRAINTS
atom. If the compositor supports that atom, however, we were always
setting the tiled state, even if no actual tiling information is
available, where the correct action is to completely remove any traces
of the tiled state.

Fix that by correctly removing the tiled state when compositor supports
_GTK_EDGE_CONSTRAINTS Xatom.

https://bugzilla.gnome.org/show_bug.cgi?id=788516

Gbp-Pq: Name 0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch
gdk/x11/gdkdisplay-x11.c