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.
This commit is contained in:
Kristian Høgsberg 2012-06-21 12:06:22 -04:00
parent 63b298f3c7
commit 6c6fb993f7
1 changed files with 2 additions and 0 deletions

View File

@ -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