mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
This is partially an emergency fix also for https://invent.kde.org/plasma/plasma-mobile/-/issues/404, which was potentially introduced by https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/582 This MR extracts the screen brightness implementation from initialstart to a QML plugin, and also ports the action drawer brightness slider implementation to it. This avoids importing the powerdevil screen brightness plugin on the lockscreen, which apparently has a race condition that causes it to sometimes segfault.
33 lines
995 B
XML
33 lines
995 B
XML
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
<!--
|
|
- SPDX-FileCopyrightText: 2015 Kai Uwe Broulik <kbroulik@kde.org>
|
|
- SPDX-License-Identifier: GPL-2.0-or-later
|
|
-->
|
|
<node>
|
|
<interface name="org.kde.Solid.PowerManagement.Actions.BrightnessControl">
|
|
<method name="setBrightness">
|
|
<arg type="i" direction="in" />
|
|
</method>
|
|
<method name="setBrightnessSilent">
|
|
<arg type="i" direction="in" />
|
|
</method>
|
|
<method name="brightness">
|
|
<arg type="i" direction="out" />
|
|
</method>
|
|
<method name="brightnessMax">
|
|
<arg type="i" direction="out" />
|
|
</method>
|
|
|
|
<signal name="brightnessChanged">
|
|
<arg type="i" direction="out" />
|
|
</signal>
|
|
<signal name="brightnessMaxChanged">
|
|
<arg type="i" direction="out" />
|
|
</signal>
|
|
|
|
<method name="brightnessSteps">
|
|
<arg type="i" direction="out" />
|
|
</method>
|
|
|
|
</interface>
|
|
</node>
|