Vlad Zahorodnii
5f83f2a781
Replace abort() with Q_ASSERT and Q_UNREACHABLE
...
This change replaces abort() with Q_ASSERT and Q_UNREACHABLE() macros to
make kwin code base consistent. Besides that, Q_UNREACHABLE may
potentially provide the compiler more info that can be used to generate
more efficient machine code.
2022-01-04 10:28:42 +02:00
Aleix Pol
eaa2f538e3
libinput: Pass QStrings as constref
2021-12-13 18:53:23 +00:00
Aleix Pol
7c6b0d9ef4
libinput: Install org.kde.kwin.InputDevice.xml exposing libinput/device.h
...
It allows to more comfortably create tooling that implements it.
2021-12-13 18:53:23 +00:00
Aleix Pol
5ff22d7765
libinput: Successfully set the output of a device from the dbus interface
2021-12-13 18:53:23 +00:00
Matt Scheirer
449da861f3
Grammar and syntax changes suggested by @vladz
2021-12-13 18:53:23 +00:00
Matt Scheirer
6287ab16f4
[libinput] Add support for display mapping
2021-12-13 18:53:23 +00:00
Matt Scheirer
e51cefe136
[libinput] Serialize QMatrix4x4 for KConfig
2021-12-13 18:53:23 +00:00
Matt Scheirer
a719ceab4a
[libinput] Persist device calibration & orientation
2021-12-13 18:53:23 +00:00
Matt Scheirer
21ef0925ab
[libinput] Expose calibration and orientation on devices over dbus
2021-12-13 18:53:23 +00:00
Aleix Pol
5f16757090
libinput: Make sure we don't crash if we start without an output
2021-11-29 17:51:49 +01:00
Xaver Hugl
6ff4de2e05
port everything away from Q_FOREACH
2021-11-08 14:19:05 +00:00
Vlad Zahorodnii
94de28bfbe
Move input backends in their own directory
2021-11-01 16:27:16 +02:00