xpra icon
Bug tracker and wiki

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12 closed defect (fixed)

support cursors

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 0.0.7.x
Component: core Version: 0.0.7.28
Keywords: Cc:

Description

Need a way to detect which cursor is used (when changed) and ensure the client also changes the cursor.

Attachments (1)

toggle_cursor.py (628 bytes) - added by Antoine Martin 9 years ago.
a simple test app for changing the cursor

Download all attachments as: .zip

Change History (3)

comment:1 Changed 9 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

done in r191, the server watches for cursor change events using XFixes's XFixesSelectCursorInput then retrieves the updated cursor pixels using XFixesGetCursorImage and sends it to the client which applies it to all of its windows.

The pixel data is not very big, generally around 2.5KB uncompressed, but if the cursor changes often we may want to send the pixel data's checksum instead and let the client cache cursors and request the real pixel data only when needed.

Changed 9 years ago by Antoine Martin

Attachment: toggle_cursor.py added

a simple test app for changing the cursor

comment:2 Changed 9 years ago by Antoine Martin

Component: clientcore
Milestone: current0.0.7.x
Version: 0.0.7.28
Note: See TracTickets for help on using tickets.