summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/frames.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 502ff523..1f6723ea 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -2977,7 +2977,10 @@ get_control (MetaFrames *frames,
return META_FRAME_CONTROL_RESIZE_E;
}
- return META_FRAME_CONTROL_NONE;
+ if (y >= fgeom.borders.total.top)
+ return META_FRAME_CONTROL_NONE;
+ else
+ return META_FRAME_CONTROL_TITLE;
}
void