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,