gtkwindow: Update shadow size on state change
authorOlivier Fourdan <ofourdan@redhat.com>
Mon, 19 Sep 2016 14:11:54 +0000 (16:11 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Mon, 19 Sep 2016 17:35:50 +0000 (19:35 +0200)
commit4cb1b9645e84054c059f174240e8e288c4befe05
treed184ac5cfce81ff120605a6eea005e5d78ff46f4
parentb6ac1b4bbf46221ee33fcca8f49c2c67c6cb6ed8
gtkwindow: Update shadow size on state change

Otherwise, with CSD, we could have a discrepancy where gtk uses the
right values for the shadows whereas the gdk backend still uses the old
values, leading in some cases to invalid or negative min size being
computed (which, in Wayland, leads a protocol error).

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