[PATCH] fixesproto: Hide/ShowCursor works on all master pointers in XI2.
Peter Hutterer
peter.hutterer at who-t.net
Thu Jul 30 22:46:59 PDT 2009
Servers supporting XI2 will hide all cursors when a client requests
HideCursor. This is arguably closest to the original intent of the request -
to not display a cursor above the given window.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
While the other requests work on the ClientPointer only, I don't think this
one should - so it's better to document it explicitly. This has no effect on
the protocol itself, it just defines the server behaviour for XI2.
Any comments?
fixesproto.txt | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/fixesproto.txt b/fixesproto.txt
index ededc8a..1571e1f 100644
--- a/fixesproto.txt
+++ b/fixesproto.txt
@@ -537,6 +537,11 @@ HideCursor
When a client with outstanding cursor hiding requests
terminates its connection these requests will be deleted.
+ Servers supporting the X Input Extension Version 2.0 or higher hide
+ all visible cursors in response to a HideCursor request. If a master
+ pointer is created while the cursors are hidden, this master pointer's
+ cursor will be hidden as well.
+
ShowCursor
window: WINDOW
@@ -553,7 +558,9 @@ ShowCursor
If the client has made no outstanding HideCursor requests
a BadMatch error is generated.
-
+ Servers supporting the X Input Extension Version 2.0 or higher show
+ all visible cursors in response to a ShowCursor request.
+
99. Future compatibility
This extension is not expected to remain fixed. Future changes will
--
1.6.3.rc1.2.g0164.dirty
More information about the xorg-devel
mailing list