[metacity] window: fix frame height for shaded windows
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] window: fix frame height for shaded windows
- Date: Sun, 22 Sep 2019 21:17:46 +0000 (UTC)
commit 0a1015f5b8a560032651ff760e0860b09688118d
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Sep 23 00:13:01 2019 +0300
window: fix frame height for shaded windows
src/core/window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 7b0186e3..695f7c3b 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]