diff options
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index 6af67207..51168f4c 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -360,7 +360,8 @@ static void handle_request_move(struct wl_listener *listener, void *data) { | |||
360 | struct sway_xdg_shell_view *xdg_shell_view = | 360 | struct sway_xdg_shell_view *xdg_shell_view = |
361 | wl_container_of(listener, xdg_shell_view, request_move); | 361 | wl_container_of(listener, xdg_shell_view, request_move); |
362 | struct sway_view *view = &xdg_shell_view->view; | 362 | struct sway_view *view = &xdg_shell_view->view; |
363 | if (!container_is_floating(view->container)) { | 363 | if (!container_is_floating(view->container) || |
364 | view->container->pending.fullscreen_mode) { | ||
364 | return; | 365 | return; |
365 | } | 366 | } |
366 | struct wlr_xdg_toplevel_move_event *e = data; | 367 | struct wlr_xdg_toplevel_move_event *e = data; |