From 30948989ee3cef1c4eccba551ba0b9fcb4ae88f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 10 Jan 2012 12:25:04 -0500 Subject: [PATCH] window: Use surface coordinates for looking up widgets --- clients/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/window.c b/clients/window.c index b736b81f..4e506a54 100644 --- 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, sy); window_set_focus_widget(window, widget, input, time, sx, sy); pointer = input_get_pointer_image_for_location(input, pointer);