[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: How to get the current cursor of a Window?
From: Phillip Bushee <phillbush () cock ! li>
Date: 2021-02-21 1:11:21
Message-ID: 3b2495edf3ac13a1a0e70769904a3a4f () cock ! li
[Download RAW message or body]
I can set the cursor to be displayed on a window in a
XSetWindowAttributes(3) structure while creating a window,
or with XDefineCursor(3) after the window is created.
But how can I get the current cursor of a window?
The XWindowAttributes(3) structure does not contain a Cursor
entry, so I cannot query it with XGetWindowAttributes(3).
Thanks in advance.
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic