[PATCH weston] window: Allow popup menu when the window is maximised

Rob Bradford robert.bradford at intel.com
Thu Jul 11 02:35:55 PDT 2013


From: Rob Bradford <rob at linux.intel.com>

https://bugs.freedesktop.org/show_bug.cgi?id=66793
---
 clients/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/window.c b/clients/window.c
index cff7102..93a0a2c 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -2553,7 +2553,7 @@ frame_button_handler(struct widget *widget,
 	struct display *display = window->display;
 	int location;
 
-	if (window->type != TYPE_TOPLEVEL)
+	if (!(window->type == TYPE_TOPLEVEL || window->type == TYPE_MAXIMIZED))
 		return;
 
 	location = theme_get_location(display->theme, input->sx, input->sy,
-- 
1.8.3.1



More information about the wayland-devel mailing list