diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2015-10-30 17:38:25 +0100 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2015-11-03 09:33:34 +0100 |
commit | a5b1cdd0c1178cbebc86a116645c2ecac62aaf65 (patch) | |
tree | effbd24f815ad7bce520c17dac09d097e2fad536 /m4macros | |
parent | 9f04efd316d384c8f7a99396713956e16814f478 (diff) | |
download | gtk+-a5b1cdd0c1178cbebc86a116645c2ecac62aaf65.tar.gz |
GtkWindow: Fix the shadow width logic
Previous commit 305b34a "GtkWindow: fix move/get position with CSD"
introduced a regression because some windows presumably use shadows but
actually don't, resulting in a negative offset being wrongly applied.
Problem is that get_shadow_width() would return non-zero shadows even
for windows that have no shadow, thus causing the negative offset.
Fix the logic in get_shadow_width() and gtk_window_should_use_csd() so
that get_shadow_width() returns accurate values.
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756618
Diffstat (limited to 'm4macros')
0 files changed, 0 insertions, 0 deletions