[mutter/document-button-values] Document button values in the RemoteDesktop api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/document-button-values] Document button values in the RemoteDesktop api
- Date: Sat, 1 May 2021 00:43:37 +0000 (UTC)
commit 320866c10be44973df64b45c050fab5bd3f052b1
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Apr 30 20:40:21 2021 -0400
Document button values in the RemoteDesktop api
I spent some time trying to pass X11 button values
and was a bit miffed that it didn't work. So lets
document the expected values to minimize future
frustation.
src/org.gnome.Mutter.RemoteDesktop.xml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/org.gnome.Mutter.RemoteDesktop.xml b/src/org.gnome.Mutter.RemoteDesktop.xml
index 7bae10e431..eac1cd9110 100644
--- a/src/org.gnome.Mutter.RemoteDesktop.xml
+++ b/src/org.gnome.Mutter.RemoteDesktop.xml
@@ -101,7 +101,12 @@
<!--
NotifyPointerButton:
- A pointer button was pressed or released
+ A pointer button was pressed or released.
+
+ Accepted values for button are
+ 0x110: Left button
+ 0x111: Right button
+ 0x112: Middle button
-->
<method name="NotifyPointerButton">
<arg name="button" type="i" direction="in" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]