From 70769454888e5077694ebbbaee65a2473cd1fe1c Mon Sep 17 00:00:00 2001 From: Pascal Nowack Date: Wed, 17 Feb 2021 21:33:21 +0100 Subject: [PATCH] remote-desktop: Document NotifyPointerAxis() more explicit Currently, the documentation for NotifyPointerAxis() just mentions that a smooth scroll event is emitted. However, this is not entirely correct. For each NotifyPointerAxis(), mutter emits an emulated discrete scrolling event based on the submitted accumulated smooth scrolling deltas. Additionally, it doesn't mention how the motion deltas need to be interpreted. So, document the NotifyPointerAxis() notification better by mentioning the emulation of discrete scroll events, how these discrete scroll events are calculated and how the motion deltas need to be interpreted. Part-of: --- src/org.gnome.Mutter.RemoteDesktop.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/org.gnome.Mutter.RemoteDesktop.xml b/src/org.gnome.Mutter.RemoteDesktop.xml index 0b79f70a6..1f3857e57 100644 --- a/src/org.gnome.Mutter.RemoteDesktop.xml +++ b/src/org.gnome.Mutter.RemoteDesktop.xml @@ -111,7 +111,20 @@