[metacity/wip/gtk-theme: 29/51] frames: Fall back to title bar if nothing else matched
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/wip/gtk-theme: 29/51] frames: Fall back to title bar if nothing else matched
- Date: Thu, 1 Jan 2015 20:41:40 +0000 (UTC)
commit fcf25b085009de98ad4d2503afb9b922a997ab35
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Sep 15 15:54:51 2011 -0400
frames: Fall back to title bar if nothing else matched
The condition got removed in eeb2efe01001fef7655b2ba95ca1456f7fe9214b but that
had a side effect of adding a couple of rows of dead pixels so add it back.
https://bugzilla.gnome.org/show_bug.cgi?id=658069
src/ui/frames.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index f36ff28..bdd6fbe 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -2943,7 +2943,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]