Expose enabledByDefault of input device to DBus

This commit is contained in:
Nicolas Fella 2022-11-01 19:03:06 +01:00 committed by Vlad Zahorodnii
parent 89607dfebd
commit 3eb9106466

View file

@ -53,6 +53,7 @@ class KWIN_EXPORT Device : public InputDevice
Q_PROPERTY(quint32 vendor READ vendor CONSTANT)
Q_PROPERTY(bool supportsDisableEvents READ supportsDisableEvents CONSTANT)
Q_PROPERTY(bool enabled READ isEnabled WRITE setEnabled NOTIFY enabledChanged)
Q_PROPERTY(bool enabledByDefault READ isEnabledByDefault CONSTANT)
//
// advanced
Q_PROPERTY(int supportedButtons READ supportedButtons CONSTANT)