Render selection

This commit is contained in:
Kristian Høgsberg 2011-01-20 11:56:57 -05:00
parent 23c03ad981
commit 5982658d62
2 changed files with 105 additions and 6 deletions

View file

@ -941,6 +941,11 @@ window_handle_pointer_focus(void *data,
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,