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:
Jasper St. Pierre 2011-09-15 15:54:51 -04:00
parent abde64cb0c
commit 5f1c3de29a

View File

@ -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