projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b67e94b
)
window: Use surface coordinates for looking up widgets
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 10 Jan 2012 17:25:04 +0000
(12:25 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 10 Jan 2012 19:22:14 +0000
(14:22 -0500)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
b736b81
..
4e506a5
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-1500,7
+1500,7
@@
input_handle_pointer_focus(void *data,
input->sy = sy;
pointer = POINTER_LEFT_PTR;
- widget = window_find_widget(window,
x,
y);
+ widget = window_find_widget(window,
sx, s
y);
window_set_focus_widget(window, widget, input, time, sx, sy);
pointer = input_get_pointer_image_for_location(input, pointer);