Fix meta_window_titlebar_is_onscreen() for titlebar-less windows
Make the code correspond to the comment - the titlebar can't be offscreen if there's no titlebar. https://bugzilla.gnome.org/show_bug.cgi?id=723580
This commit is contained in:
parent
a8849621c9
commit
40c15f6e2a
@ -7841,7 +7841,7 @@ meta_window_titlebar_is_onscreen (MetaWindow *window)
|
|||||||
|
|
||||||
/* Titlebar can't be offscreen if there is no titlebar... */
|
/* Titlebar can't be offscreen if there is no titlebar... */
|
||||||
if (!window->frame)
|
if (!window->frame)
|
||||||
return FALSE;
|
return TRUE;
|
||||||
|
|
||||||
/* Get the rectangle corresponding to the titlebar */
|
/* Get the rectangle corresponding to the titlebar */
|
||||||
meta_window_get_frame_rect (window, &titlebar_rect);
|
meta_window_get_frame_rect (window, &titlebar_rect);
|
||||||
|
Loading…
Reference in New Issue
Block a user