kwin/kcmkwin/kwinrules
Martin Gräßlin c044ad98be Split out pointer related handling from InputRedirection
All pointer related code is moved into a new class called
PointerInputRedirection.

The main idea is to simplify the code and make it easier to maintain.
Therefore also a few changes in the setup were performed:
* before init() is called, no processing is performed
* init() is only called on Wayland and after Workspace is created
* init property is set to false once Workspace or WaylandServer is
  destroyed

Thus code can operate on the following assumptions:
* Workspace is valid
* WaylandServer is valid
* ScreenLocker integration is used

The various checks whether there is a waylandServer() and whether
there is a seat are no longer needed.

Some of the checks have been reordered to be faster in the most common
use case of using libinput. E.g. whether warping is supported is first
evaluated by the variable bound to whether we have libinput and only if
that is false the backend is checked.

The new class doesn't have signals but invokes the signals provided
by InputRedirection. I didn't want to add new signals as I consider
them as not needed. The areas in KWin needing those signals should
be ported to InputEventFilters.
2016-02-12 13:38:26 +01:00
..
CMakeLists.txt XCB::CURSOR becomes a required dependency 2015-06-04 17:50:29 +02:00
detectwidget.cpp Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
detectwidget.h [kwin/kcmrules] Use a pointer for the KWindowInfo member variable 2014-01-30 10:35:35 +01:00
detectwidget.ui [kwinrules] workaround for assert in QFormLayout 2013-09-30 09:55:13 +02:00
editshortcut.ui Use resolve_kuit.py to clean i18n* 2014-08-21 13:17:37 +02:00
kcm.cpp lazy setting of xbc properties on qApp 2015-05-15 23:55:28 +02:00
kcm.h [kwinrules] slots/signals -> Q_SLOTS/Q_SIGNALS 2013-09-30 08:01:46 +02:00
kwinrules.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2016-01-10 11:46:53 +00:00
kwinsrc.cpp Split out pointer related handling from InputRedirection 2016-02-12 13:38:26 +01:00
main.cpp set still required xcb properties in findRule 2015-06-03 21:22:38 +02:00
Messages.sh Fix extraction of two messages in kcmkwinrules 2015-04-09 22:47:37 +03:00
ruleslist.cpp Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
ruleslist.h Replace NULL with nullptr in kcmkwin 2014-01-08 10:30:38 +01:00
ruleslist.ui [kwin/kcms] Another round of kdialog removals 2014-03-18 09:11:07 +01:00
ruleswidget.cpp Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
ruleswidget.h Add rule to protect the focus on a window 2015-11-17 21:30:05 +01:00
ruleswidgetbase.ui Fix minor typo 2015-11-18 19:07:09 +02:00
yesnobox.h Remove KDE/ prefix in include directories 2014-03-17 16:24:10 +01:00