summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Weber <[email protected]>2017-12-31 14:37:18 +0100
committerraveit65 <[email protected]>2018-01-02 10:37:02 +0100
commit658399850779e4a3f91cf1f96ddc37e628aaa4ba (patch)
tree3ba19f06800be14030cf296ac118e8790c791b86 /src
parent2cebadddb41ba4e5c2063ca9ce31fc5ed14300c1 (diff)
downloadmarco-658399850779e4a3f91cf1f96ddc37e628aaa4ba.tar.bz2
marco-658399850779e4a3f91cf1f96ddc37e628aaa4ba.tar.xz
Fix wrong result in meta_window_titlebar_is_onscreen() for windows without a frame
Diffstat (limited to 'src')
-rw-r--r--src/core/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c
index eec909aa..a1e38d3f 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -6867,7 +6867,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_outer_rect (window, &titlebar_rect);