Device.getLastEventWindow

Gets information about which window the given pointer device is in, based on 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.

Return: the last window the device

class Device
getLastEventWindow
()

Meta

Since

3.12