projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63b298f
)
shell: Schedule repaint when moving a surface
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 21 Jun 2012 16:06:22 +0000
(12:06 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 21 Jun 2012 16:32:23 +0000
(12:32 -0400)
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
patch
|
blob
|
history
diff --git
a/src/shell.c
b/src/shell.c
index
f7369f3
..
6333180
100644
(file)
--- 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