Skip to content

scripting: Expose cursor position to the scripting API

Yunus Erdem Ergül requested to merge qewer/kwin:scripting-cursor-pos into master

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.

Merge request reports

Loading