mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-28 13:20:13 +01:00
Hide/ShowCursor works on all master pointers in XI2.
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@who-t.net>
This commit is contained in:
parent
9a3f2e4364
commit
beebe5339e
1 changed files with 8 additions and 1 deletions
|
|
@ -537,6 +537,11 @@ HideCursor
|
||||||
When a client with outstanding cursor hiding requests
|
When a client with outstanding cursor hiding requests
|
||||||
terminates its connection these requests will be deleted.
|
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
|
ShowCursor
|
||||||
|
|
||||||
window: WINDOW
|
window: WINDOW
|
||||||
|
|
@ -553,7 +558,9 @@ ShowCursor
|
||||||
If the client has made no outstanding HideCursor requests
|
If the client has made no outstanding HideCursor requests
|
||||||
a BadMatch error is generated.
|
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
|
99. Future compatibility
|
||||||
|
|
||||||
This extension is not expected to remain fixed. Future changes will
|
This extension is not expected to remain fixed. Future changes will
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue