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>
Mon, 16 Oct 2017 12:26:07 +0000 (13:26 +0100)
commitf5c8cd2f250966eaad4f60bcfc849ef617742846
treecea921bfbade084b9d159b5b36c6c4ac58e30928
parentb569e3f7deb0b415ecb25ca63713b402a04e1b8e
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