From: Kristian Høgsberg Date: Wed, 12 Oct 2011 04:36:54 +0000 (-0400) Subject: compositor: Dont repick for grabbed surfaces X-Git-Tag: 0.85.0~307 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32ff1f5012887fdc6b0c394f00b10bcf126e7140;p=profile%2Fivi%2Fweston.git compositor: Dont repick for grabbed surfaces --- diff --git a/compositor/compositor.c b/compositor/compositor.c index ff7ae3e..d2e8ce7 100644 --- a/compositor/compositor.c +++ b/compositor/compositor.c @@ -351,6 +351,8 @@ wlsc_compositor_repick(struct wlsc_compositor *compositor) time = wlsc_compositor_get_time(); wl_list_for_each(device, &compositor->input_device_list, link) { + if (device->input_device.grab) + continue; surface = pick_surface(&device->input_device, &sx, &sy); wl_input_device_set_pointer_focus(&device->input_device, &surface->surface,