From 202e6bd6545d2325f5f0e0bd298ed9f7d114d589 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Wed, 5 Mar 2014 19:40:09 -0500 Subject: [PATCH] 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 --- 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 c65d7dfeb..2593f2769 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -9005,7 +9005,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);