remote-desktop: Unify codestyle in API

The code style in the remote-desktop API is currently a mess.
While, the overall code style in mutter and gnome-remote-desktop is to
use spaces as tabulator, the remote-desktop API is mixed with both
spaces as tabulators and actual tabulators.
In addition to that, the code style in the XDG desktop portal APIs uses
spaces as tabulators as well.

To unify the code style, replace all actual tabulators with spaces.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2255>
This commit is contained in:
Pascal Nowack 2022-01-25 11:05:47 +01:00 committed by Marge Bot
parent cff95d4932
commit ecd45d28ac

View File

@ -50,7 +50,8 @@
SessionId: SessionId:
An identification string used for identifying a remote desktop session. An identification string used for identifying a remote desktop session.
It can be used to associate screen cast sessions with a remote desktop session. It can be used to associate screen cast sessions with a remote desktop
session.
--> -->
<property name="SessionId" type="s" access="read" /> <property name="SessionId" type="s" access="read" />
@ -111,28 +112,29 @@
<!-- <!--
NotifyPointerAxis: NotifyPointerAxis:
A smooth pointer axis event notification. Relative motion deltas are to be A smooth pointer axis event notification. Relative motion deltas are to
interpreted as pixel movement of a standardized mouse. be interpreted as pixel movement of a standardized mouse.
Additionally to the smooth pointer axis event notification, an emulated Additionally to the smooth pointer axis event notification, an emulated
discrete pointer axis event notification is emitted based on the submitted discrete pointer axis event notification is emitted based on the
accumulated smooth scrolling steps. submitted accumulated smooth scrolling steps.
The base for these emulated discrete pointer axis event is the discrete step The base for these emulated discrete pointer axis event is the discrete
with the value 10.0. step with the value 10.0.
This means that for a delta dx (or dy) with the value 10.0 one emulated This means that for a delta dx (or dy) with the value 10.0 one emulated
discrete scrolling event is emitted. discrete scrolling event is emitted.
For a high resolution smooth pointer axis event, a smaller value is submitted For a high resolution smooth pointer axis event, a smaller value is
for each scrolling step. submitted for each scrolling step.
This means: For a double resolution mouse wheel one emulated discrete event This means: For a double resolution mouse wheel one emulated discrete
is emitted for 2 smooth pointer axis events with each having the value 5.0. event is emitted for 2 smooth pointer axis events with each having the
value 5.0.
Possible @flags: Possible @flags:
1: finish - scroll motion was finished (e.g. fingers lifted) 1: finish - scroll motion was finished (e.g. fingers lifted)
2: source_wheel - The scroll event is originated by a mouse wheel. 2: source_wheel - The scroll event is originated by a mouse wheel.
4: source_finger - The scroll event is originated by one or more fingers on 4: source_finger - The scroll event is originated by one or more
the device (eg. touchpads). fingers on the device (eg. touchpads).
8: source_continuous - The scroll event is originated by the motion of some 8: source_continuous - The scroll event is originated by the motion
device (eg. a scroll button is set). of some device (eg. a scroll button is set).
Maximum one of the @flags 'source_wheel', 'source_finger', Maximum one of the @flags 'source_wheel', 'source_finger',
'source_continuous' may be specified. 'source_continuous' may be specified.