aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-01-05 23:06:12 +0100
committerHelge Deller <deller@gmx.de>2022-02-02 18:46:44 +0100
commit3615cea4714f94d1db61bd6618a3a66a6b014f9d (patch)
treea8ad7c4e60c922858f2cf15975b59accb6df70be /module-common.c
parent3b21d998a12b380c590f1005343ab95e2d6a7669 (diff)
hw/display/artist: Mouse cursor fixes for HP-UX
This patch fix the behaviour and positioning of the X11 mouse cursor in HP-UX. The current code missed to subtract the offset of the CURSOR_CTRL register from the current mouse cursor position. The HP-UX graphics driver stores in this register the offset of the mouse graphics compared to the current cursor position. Without this adjustment the mouse behaves strange at the screen borders. Additionally, depending on the HP-UX version, the mouse cursor position in the cursor_pos register reports different values. To accommodate this track the current min and max reported values and auto-adjust at runtime. With this fix the mouse now behaves as expected on HP-UX 10 and 11. Signed-off-by: Helge Deller <deller@gmx.de> Cc: qemu-stable@nongnu.org Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions