diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2014-03-05 19:40:09 -0500 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2014-03-11 13:02:19 -0400 |
commit | 40c15f6e2a5fcd66f8b0a96737eaf669da64bb84 (patch) | |
tree | 310849e34d5fc6c356be3e48fa9f74ffede25e39 | |
parent | a8849621c9ca4c7b26c4780981a926447c4017c2 (diff) | |
download | mutter-40c15f6e2a5fcd66f8b0a96737eaf669da64bb84.tar.gz |
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
-rw-r--r-- | src/core/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c index 40d059049..dcc272548 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -7841,7 +7841,7 @@ meta_window_titlebar_is_onscreen (MetaWindow *window) /* Titlebar can't be offscreen if there is no titlebar... */ if (!window->frame) - return FALSE; + return TRUE; /* Get the rectangle corresponding to the titlebar */ meta_window_get_frame_rect (window, &titlebar_rect); |