scripting: Expose cursor position to the scripting API
This MR adds cursorPos
property and cursorPosChanged
signal to the WorkspaceWrapper
object in the scripting API.
This aims to provide a way for KWin scripts to get the cursor position directly from KWin instead of messing with command lines programs such as xdotool
.