aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r--sway/desktop/xdg_shell.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c
index 7775f660..2bf026f7 100644
--- a/sway/desktop/xdg_shell.c
+++ b/sway/desktop/xdg_shell.c
@@ -284,7 +284,9 @@ static void handle_commit(struct wl_listener *listener, void *data) {
284 wlr_xdg_surface_get_geometry(xdg_surface, &new_geo); 284 wlr_xdg_surface_get_geometry(xdg_surface, &new_geo);
285 285
286 if ((new_geo.width != view->geometry.width || 286 if ((new_geo.width != view->geometry.width ||
287 new_geo.height != view->geometry.height)) { 287 new_geo.height != view->geometry.height ||
288 new_geo.x != view->geometry.x ||
289 new_geo.y != view->geometry.y)) {
288 // The view has unexpectedly sent a new size 290 // The view has unexpectedly sent a new size
289 desktop_damage_view(view); 291 desktop_damage_view(view);
290 view_update_size(view, new_geo.width, new_geo.height); 292 view_update_size(view, new_geo.width, new_geo.height);