commit | 5982658d62902e7a7ef845e499b42e8ba3510270 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Thu Jan 20 11:56:57 2011 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Jan 20 11:56:57 2011 -0500 |
tree | 7d12eecf3ff64a056da2bdf0508f8671c64113b7 | |
parent | 23c03ad9816ed43844408216d3a406ecf02913ce [diff] [blame] |
Render selection
diff --git a/clients/window.c b/clients/window.c index 6ddedaa..ce2164c 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -941,6 +941,11 @@ input->pointer_focus = wl_surface_get_user_data(surface); window = input->pointer_focus; + input->x = x; + input->y = y; + input->sx = sx; + input->sy = sy; + pointer = POINTER_LEFT_PTR; if (window->motion_handler) pointer = (*window->motion_handler)(window,