projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcee9a4
)
compositor: Dont repick for grabbed surfaces
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 12 Oct 2011 04:36:54 +0000
(
00:36
-0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 12 Oct 2011 04:36:54 +0000
(
00:36
-0400)
compositor/compositor.c
patch
|
blob
|
history
diff --git
a/compositor/compositor.c
b/compositor/compositor.c
index
ff7ae3e
..
d2e8ce7
100644
(file)
--- 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,