mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
frames: Fall back to title bar if nothing else matched
The condition got removed in eeb2efe010
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_NONE;
|
||||
if (y >= fgeom.borders.total.top)
|
||||
return META_FRAME_CONTROL_NONE;
|
||||
else
|
||||
return META_FRAME_CONTROL_TITLE;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user