mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:39:25 +02:00
* do not call HideMouse inside go32v2 Mouse.DoCustomMouse, because in the case of mouse cursor drawn by the int 33h mouse driver, this increments the mouse driver's internal 'hide count', which is already 1 after a mode set (changing video modes causes the int 33h mouse cursor to disappear), so after a mode set followed by DoCustomMouse, we need to call ShowMouse twice in order for the mouse cursor to appear. This fixes mantis #5523
git-svn-id: trunk@28799 -
This commit is contained in:
parent
aa44dcbd7f
commit
3f70871dff
@ -724,7 +724,6 @@ end;
|
||||
procedure DoCustomMouse(b : boolean);
|
||||
|
||||
begin
|
||||
HideMouse;
|
||||
lockmouse;
|
||||
oldmousex:=-1;
|
||||
oldmousey:=-1;
|
||||
|
Loading…
Reference in New Issue
Block a user