[PATCH weston 1/6] compositor: remove useless weston_compositor_repick call

Tiago Vignatti tiago.vignatti at intel.com
Wed Jul 11 14:46:10 PDT 2012


compositor->focus was just unset, and weston_compositor_repick() has no
effect.

Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
 src/compositor.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/compositor.c b/src/compositor.c
index 5626517..95fcf2a 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1975,7 +1975,6 @@ notify_pointer_focus(struct wl_seat *seat, struct weston_output *output,
 		weston_compositor_repick(compositor);
 	} else {
 		compositor->focus = 0;
-		weston_compositor_repick(compositor);
 	}
 }
 
-- 
1.7.9.5



More information about the wayland-devel mailing list