Method

GdkDeviceget_last_event_window

since: 3.12

Declaration [src]

GdkWindow*
gdk_device_get_last_event_window (
  GdkDevice* device
)

Description [src]

Gets information about which window the given pointer device is in, based on events that have been received so far from the display server. If another application has a pointer grab, or this application has a grab with owner_events = FALSE, NULL may be returned even if the pointer is physically over one of this application’s windows.

Available since: 3.12

Return value

Type: GdkWindow

The last window the device.

The returned data is owned by the instance.
The return value can be NULL.