This patch does fix the popup as requested. However, it also enables a maximized window to be moved around by dragging the titlebar. I don't think we want that to happen.
U. Artie > -----Original Message----- > From: wayland-devel-bounces+ullysses.a.eoff=intel....@lists.freedesktop.org > [mailto:wayland-devel- > bounces+ullysses.a.eoff=intel....@lists.freedesktop.org] On Behalf Of Rob > Bradford > Sent: Thursday, July 11, 2013 2:36 AM > To: wayland-devel@lists.freedesktop.org > Cc: Rob Bradford > Subject: [PATCH weston] window: Allow popup menu when the window is maximised > > From: Rob Bradford <r...@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 > > _______________________________________________ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel