artist: Fix vertical X11 cursor position in HP-UX
authorHelge Deller <deller@gmx.de>
Wed, 11 May 2022 09:49:02 +0000 (11:49 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 16 May 2022 13:58:22 +0000 (15:58 +0200)
commit482afe020b558d36d3b863970ad1672981b22d48
treeca8aeb088d7c011ecf002fbd46d4be7a3e212a17
parente9683fbc3738ebbf9b4058413ffc53e086da95fc
artist: Fix vertical X11 cursor position in HP-UX

Drop the hard-coded value of 1146 lines which seems to work with HP-UX
11, but not with HP-UX 10. Instead encode the screen height in byte 0 of
active_lines_low and byte 3 of misc_video as it's expected by the Xorg
X11 graphics driver.

This potentially allows for higher vertical screen resolutions than
1280x1024 with X11.

Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/display/artist.c