From 44c2c3ce7247fbdbf89ecc11d77cf4be33b074fc Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 28 May 2025 15:19:05 +0100 Subject: [PATCH] desktop-shell: Remove weston_surface_damage() from rotate This already calls either weston_view_add_transform() or weston_view_remove_transform() followed by weston_view_update_transform(), the combination of which will already force a repaint for those views. Signed-off-by: Daniel Stone --- desktop-shell/shell.c | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index abc3479b1..5ea209b5e 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -3301,7 +3301,6 @@ rotate_grab_motion(struct weston_pointer_grab *grab, } weston_view_update_transform(shsurf->view); - weston_surface_damage(shsurf->view->surface); } static void