window: handle tiled edges separately
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 17 Aug 2017 03:30:31 +0000 (00:30 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 3 Oct 2017 23:06:46 +0000 (20:06 -0300)
commitd73c49ecef7d77f6e89c56459543452e7beab2b3
tree2163db55674ce7544fca2335be5c2a134f84528c
parentf1a3bc2f2cac2da965649025b7db7b72238a72e7
window: handle tiled edges separately

GTK windows don't have their tiling states really
hooked into the client-side decoration code, and
the only effect it has is disabling the resizing
edges.

With the introduction of per-edge tiling information,
we are backed by much more precise data on how the
window manager wants the app to behave.

This patch, then, fixes GtkWindow to take into account
per-edge tiling information. For compatibility purposes,
the previous tiled field was kept, and thing will just
continue working if no edge information is supplied.

https://bugzilla.gnome.org/show_bug.cgi?id=783669
gtk/gtkwindow.c