aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index b51bbb74..743e85bc 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -373,7 +373,9 @@ static void handle_commit(struct wl_listener *listener, void *data) {
373 get_geometry(view, &new_geo); 373 get_geometry(view, &new_geo);
374 374
375 if ((new_geo.width != view->geometry.width || 375 if ((new_geo.width != view->geometry.width ||
376 new_geo.height != view->geometry.height)) { 376 new_geo.height != view->geometry.height ||
377 new_geo.x != view->geometry.x ||
378 new_geo.y != view->geometry.y)) {
377 // The view has unexpectedly sent a new size 379 // The view has unexpectedly sent a new size
378 // eg. The Firefox "Save As" dialog when downloading a file 380 // eg. The Firefox "Save As" dialog when downloading a file
379 desktop_damage_view(view); 381 desktop_damage_view(view);