Device.getLastEventWindow

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.

class Device
getLastEventWindow
()

Return Value

Type: Window

the last window the device

Meta

Since

3.12