commit 98a2f5d
Michael Forney
·
2013-09-12 23:57:13 +0000 UTC
parent 943d5ba
Fix pointer handler (forgot to set compositor pointer)
1 files changed,
+3,
-0
+3,
-0
1@@ -206,6 +206,9 @@ static void handle_focus(struct swc_pointer * pointer)
2 struct swc_surface * surface;
3 int32_t surface_x, surface_y;
4
5+ seat = swc_container_of(pointer, typeof(*seat), pointer);
6+ compositor = swc_container_of(seat, typeof(*compositor), seat);
7+
8 wl_list_for_each(surface, &compositor->surfaces, link)
9 {
10 pixman_region32_t region;