[PATCH weston] compositor: Schedule repaint after assigning output.
Scott Moreau
oreaus at gmail.com
Tue Aug 14 02:51:40 PDT 2012
This fixes a bug exposed by 982387011ff where tooltips were not drawn while
the compositor is idle until the next output repaint.
---
Just schedule a repaint instead of preemptively calling weston_surface_update_transform().
src/compositor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compositor.c b/src/compositor.c
index 7370435..c1cbdd5 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1404,6 +1404,7 @@ weston_surface_assign_output(struct weston_surface *es)
es->output = new_output;
weston_surface_update_output_mask(es, mask);
+ weston_compositor_schedule_repaint(ec);
}
static void
--
1.7.11.2
More information about the wayland-devel
mailing list