From: Ander Conselvan de Oliveira Date: Wed, 7 May 2014 11:22:23 +0000 (+0300) Subject: shell: Don't allow maximized surfaces to be moved with touch X-Git-Tag: upstream/0.1.8~208 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d43f045e3495b9967a75ae6594ca3415b2661a6;p=profile%2Fivi%2Fweston-ivi-shell.git shell: Don't allow maximized surfaces to be moved with touch Moving a maximized surface with the pointer is already not possible, so make the behavior with touch consistent. https://bugs.freedesktop.org/show_bug.cgi?id=78208 --- diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index ea7b3cd..db55ea9 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -1453,7 +1453,7 @@ surface_touch_move(struct shell_surface *shsurf, struct weston_seat *seat) if (!shsurf) return -1; - if (shsurf->state.fullscreen) + if (shsurf->state.fullscreen || shsurf->state.maximized) return 0; move = malloc(sizeof *move);