mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 12:18:08 +02:00
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:
parent
63b298f3c7
commit
6c6fb993f7
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue