[metacity/gnome-3-20] frames: restore window resize using titlebar
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/gnome-3-20] frames: restore window resize using titlebar
- Date: Mon, 27 Jun 2016 15:39:19 +0000 (UTC)
commit b00cbe1ace14c274d324a9a1d8904b11f1591b38
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Jun 27 18:34:52 2016 +0300
frames: restore window resize using titlebar
https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1596574
src/ui/frames.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index c0749c7..bd5044b 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -2591,7 +2591,7 @@ get_control (MetaFrames *frames,
if (POINT_IN_RECT (x, y, fgeom.title_rect))
{
- if (has_vert && y <= TOP_RESIZE_HEIGHT && has_north_resize)
+ if (has_vert && y <= (fgeom.borders.invisible.top + TOP_RESIZE_HEIGHT) && has_north_resize)
return META_FRAME_CONTROL_RESIZE_N;
else
return META_FRAME_CONTROL_TITLE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]