• Re: How can you get the current cursor/pointer in X windows?

    From Spiros Bousbouras@spibou@gmail.com to comp.unix.programmer,comp.windows.x on Mon May 6 16:04:05 2019
    From Newsgroup: comp.windows.x

    On Mon, 6 May 2019 15:30:09 +0000 (UTC)
    johnbenny@nowhere.co.uk wrote:
    Hello

    I need to get the current mouse cursor/pointer being displayed by the X server
    in a window but there doesn't seem to be an obvious way to do it in Xlib. XDefineCursor() sets it but there doesn't appear to be a way to get it.

    [Crossposting to comp.windows.x]

    XQueryPointer()
    --- Synchronet 3.21d-Linux NewsLink 1.2