wayland: Return surface coordinates and mask in window_at_position

This commit is contained in:
Kristian Høgsberg 2011-02-10 13:42:59 -05:00
parent 4621c6476c
commit df0815470c

View File

@ -214,6 +214,9 @@ gdk_device_core_window_at_position (GdkDevice *device,
GdkWaylandDevice *wd;
wd = GDK_DEVICE_CORE(device)->device;
*win_x = wd->surface_x;
*win_y = wd->surface_y;
*mask = wd->modifiers;
return wd->pointer_focus;
}