From 658399850779e4a3f91cf1f96ddc37e628aaa4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Weber?= Date: Sun, 31 Dec 2017 14:37:18 +0100 Subject: Fix wrong result in meta_window_titlebar_is_onscreen() for windows without a frame --- src/core/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1