[PATCH weston] window: Allow popup menu when the window is maximised
Kristian Høgsberg
hoegsberg at gmail.com
Fri Jul 12 19:08:46 PDT 2013
On Thu, Jul 11, 2013 at 10:35:55AM +0100, Rob Bradford wrote:
> From: Rob Bradford <rob at linux.intel.com>
>
> https://bugs.freedesktop.org/show_bug.cgi?id=66793
Looks good to me, applied.
Kristian
> ---
> 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list