swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 98a2f5d57001e28821937c7f4a76e56ccbd97409
parent 943d5ba069efe28332cce14a36574361e50691fd
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 12 Sep 2013 16:57:13 -0700

Fix pointer handler (forgot to set compositor pointer)

Diffstat:
Mlibswc/compositor.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/libswc/compositor.c b/libswc/compositor.c @@ -206,6 +206,9 @@ static void handle_focus(struct swc_pointer * pointer) struct swc_surface * surface; int32_t surface_x, surface_y; + seat = swc_container_of(pointer, typeof(*seat), pointer); + compositor = swc_container_of(seat, typeof(*compositor), seat); + wl_list_for_each(surface, &compositor->surfaces, link) { pixman_region32_t region;