shell: Don't allow move/resize/rotate for input panel surfaces

This commit is contained in:
Kristian Høgsberg 2012-06-21 16:46:14 -04:00
parent cba9e470ba
commit a4a4de487e

View 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;