From a4a4de487ec68a09672de5eae07d78ba48a2a0a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 21 Jun 2012 16:46:14 -0400 Subject: [PATCH] shell: Don't allow move/resize/rotate for input panel surfaces --- src/shell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shell.c b/src/shell.c index 7a3d068e..d8a508ef 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2086,6 +2086,7 @@ move_binding(struct wl_seat *seat, uint32_t time, uint32_t button, void *data) case SHELL_SURFACE_BACKGROUND: case SHELL_SURFACE_FULLSCREEN: case SHELL_SURFACE_SCREENSAVER: + case SHELL_SURFACE_INPUT_PANEL: return; default: break; @@ -2115,6 +2116,7 @@ resize_binding(struct wl_seat *seat, uint32_t time, uint32_t button, void *data) case SHELL_SURFACE_BACKGROUND: case SHELL_SURFACE_FULLSCREEN: case SHELL_SURFACE_SCREENSAVER: + case SHELL_SURFACE_INPUT_PANEL: return; default: break; @@ -2359,6 +2361,7 @@ rotate_binding(struct wl_seat *seat, uint32_t time, uint32_t button, case SHELL_SURFACE_BACKGROUND: case SHELL_SURFACE_FULLSCREEN: case SHELL_SURFACE_SCREENSAVER: + case SHELL_SURFACE_INPUT_PANEL: return; default: break;