diff options
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index 48b7b4c7..7cdd97c8 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -306,9 +306,9 @@ static void handle_commit(struct wl_listener *listener, void *data) { | |||
306 | view->geometry.height); | 306 | view->geometry.height); |
307 | } | 307 | } |
308 | transaction_commit_dirty_client(); | 308 | transaction_commit_dirty_client(); |
309 | } else { | ||
310 | view_center_surface(view); | ||
311 | } | 309 | } |
310 | |||
311 | view_center_and_clip_surface(view); | ||
312 | } | 312 | } |
313 | 313 | ||
314 | if (view->container->node.instruction) { | 314 | if (view->container->node.instruction) { |