shell: Don't allow move/resize/rotate for input panel surfaces
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 21 Jun 2012 20:46:14 +0000 (16:46 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 21 Jun 2012 20:46:14 +0000 (16:46 -0400)
src/shell.c

index 7a3d068..d8a508e 100644 (file)
@@ -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;