]> git.proxmox.com Git - mirror_qemu.git/commit
artist: Fix X cursor position calculation in X11
authorHelge Deller <deller@gmx.de>
Thu, 12 May 2022 11:40:39 +0000 (13:40 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 16 May 2022 14:46:25 +0000 (16:46 +0200)
commit9ef2c6b4ab9a430ee230ee305b6994d7eae86fe7
tree027b2a8302b2aa874bb46ffefeec098ce3dabb16
parentcaca6e618d5577e45be2bcdc1e626a8b747fb56b
artist: Fix X cursor position calculation in X11

The X cursor postion can be calculated based on the backporch and
interleave values.  In the emulation we ignore the HP-UX settings for
backporch and use instead twice the size of the emulated cursor.  With
those changes the X-position of the graphics cursor is now finally
working correctly on HP-UX 10 and HP-UX 11.

Based on coding in Xorg X11R6.6

Signed-off-by: Helge Deller <deller@gmx.de>
hw/display/artist.c