From 6c6fb993f7a014198a1b1049529face61a1d59cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 21 Jun 2012 12:06:22 -0400 Subject: [PATCH] shell: Schedule repaint when moving a surface It seems we used to rely on the repaint scheduled by the cursor motion. But if there's no cursor, there's no cursor motion, so we need to schedule our own repaint. --- src/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shell.c b/src/shell.c index f7369f32..63331808 100644 --- a/src/shell.c +++ b/src/shell.c @@ -782,6 +782,8 @@ move_grab_motion(struct wl_pointer_grab *grab, weston_surface_configure(es, dx, dy, es->geometry.width, es->geometry.height); + + weston_compositor_schedule_repaint(es->compositor); } static void