summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2019-09-23 00:13:01 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2019-09-23 00:20:16 +0300
commit68fe148a749fc1e906b7ec0fac16885046e5527d (patch)
tree90e9c528cc35ec75aef47cc79069cd0dfb53d14a
parent22870c4cc40e02dc091ba925bea99dd449da9d30 (diff)
downloadmetacity-68fe148a749fc1e906b7ec0fac16885046e5527d.tar.gz
window: fix frame height for shaded windows
-rw-r--r--src/core/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c
index b22ebf90..2d3e68da 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3691,7 +3691,7 @@ meta_window_move_resize_internal (MetaWindow *window,
new_w = window->rect.width + borders.total.left + borders.total.right;
if (window->shaded)
- new_h = borders.total.top;
+ new_h = borders.total.top + borders.total.bottom;
else
new_h = window->rect.height + borders.total.top + borders.total.bottom;