diff options
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2014-05-07 14:22:23 +0300 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-05-09 13:33:36 -0700 |
commit | 6d43f045e3495b9967a75ae6594ca3415b2661a6 (patch) | |
tree | de9557e84b3178ddc652313c39b4767ef99d6818 | |
parent | 6e56ab41d99197ca2b562b5bc1315800065763ae (diff) | |
download | weston-6d43f045e3495b9967a75ae6594ca3415b2661a6.tar.gz weston-6d43f045e3495b9967a75ae6594ca3415b2661a6.tar.bz2 weston-6d43f045e3495b9967a75ae6594ca3415b2661a6.zip |
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
-rw-r--r-- | desktop-shell/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index ea7b3cd7..db55ea9c 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); |