[metacity] fix meta_window_titlebar_is_onscreen for titlebar-less windows
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] fix meta_window_titlebar_is_onscreen for titlebar-less windows
- Date: Wed, 14 Aug 2019 20:46:36 +0000 (UTC)
commit 5348112a55ac8d960c014bccc2eda508177ea448
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Wed Mar 5 19:40:09 2014 -0500
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 a8fd3b8e..6aea86d9 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -7333,7 +7333,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_titlebar_rect (window, &titlebar_rect);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]