Просмотр исходного кода

* 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 -
nickysn 10 лет назад
Родитель
Сommit
3f70871dff
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      packages/rtl-console/src/go32v2/mouse.pp

+ 0 - 1
packages/rtl-console/src/go32v2/mouse.pp

@@ -724,7 +724,6 @@ end;
 procedure DoCustomMouse(b : boolean);
 
   begin
-     HideMouse;
      lockmouse;
      oldmousex:=-1;
      oldmousey:=-1;