X11.ActiveWindow (gb.desktop.x11)

Static Property ActiveWindow As Integer

Returns the X11 Handle ID number of the currently active desktop window.