mirror of
https://github.com/brl/mutter.git
synced 2024-12-29 14:22:13 +00:00
7a1beb817d
Currently, the peripheral "output" setting will be unset if Mutter is deciding automatically the mapped output of a tablet device. In that case, gnome-control-center will have a hard time figuring out itself the better output to show the tablet calibration UI, unless it's hand held by Mutter. Add this private D-Bus interface so that gnome-control-center can look up the output as determined by Mutter to bring the missing harmony between both. This interface consists of a simple method to get the mapped output for a input device node. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2605>
20 lines
580 B
XML
20 lines
580 B
XML
<!DOCTYPE node PUBLIC
|
|
'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
|
|
'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
|
|
<node>
|
|
<!--
|
|
org.gnome.Mutter.InputMapper:
|
|
@short_description: input mapper interface
|
|
|
|
This interface is used by gnome-control-center to implement
|
|
tablet calibration.
|
|
-->
|
|
|
|
<interface name="org.gnome.Mutter.InputMapping">
|
|
<method name="GetDeviceMapping">
|
|
<arg name="device_node" direction="in" type="o" />
|
|
<arg name="rect" direction="out" type="(iiii)" />
|
|
</method>
|
|
</interface>
|
|
</node>
|