davidedmundson created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: KWin, kwin, plasma-devel.

REVISION SUMMARY
  This allows us to write scripts like mousemark, trackmouse, etc. as
  declarative scripts.
  
  It's exposed as a new object rather than just making the existing Cursor
  a context property so that we can do RAII on enabling mouse polling.

TEST PLAN
  Attached unit test
  Also used in a real world script that moves a window around the cursor 
position

REPOSITORY
  R108 KWin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D7323

AFFECTED FILES
  CMakeLists.txt
  autotests/integration/scripting/CMakeLists.txt
  autotests/integration/scripting/cursor_test.cpp
  autotests/integration/scripting/scripts/cursortest.qml
  scripting/cursorwrapper.cpp
  scripting/cursorwrapper.h
  scripting/scripting.cpp

To: davidedmundson, #plasma
Cc: plasma-devel, kwin, #kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, 
hardening, jensreuterberg, abetts, sebas, apol, mart, lukas

Reply via email to