diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-21 12:06:22 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-21 12:32:23 -0400 |
commit | 6c6fb993f7a014198a1b1049529face61a1d59cf (patch) | |
tree | 305bcb5c35d1ccbdfc561bed513158314cda2217 | |
parent | 63b298f3c74c5377638cb4db03da835598dbe7fa (diff) |
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.
-rw-r--r-- | src/shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |