mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00:00
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
This commit is contained in:
parent
abde64cb0c
commit
5f1c3de29a
@ -2787,7 +2787,10 @@ get_control (MetaFrames *frames,
|
|||||||
return META_FRAME_CONTROL_RESIZE_E;
|
return META_FRAME_CONTROL_RESIZE_E;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (y >= fgeom.borders.total.top)
|
||||||
return META_FRAME_CONTROL_NONE;
|
return META_FRAME_CONTROL_NONE;
|
||||||
|
else
|
||||||
|
return META_FRAME_CONTROL_TITLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user