Browse Source

* hide the mouse before saving the go32v2 IDE screen. This fixes a bug which causes the mouse to leave a trace when returning to the IDE screen after viewing the user screen, if the mouse has been moved during the time the user screen was visible

git-svn-id: trunk@29074 -
nickysn 10 years ago
parent
commit
a481a62a3e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ide/fpusrscr.pas

+ 2 - 0
ide/fpusrscr.pas

@@ -483,7 +483,9 @@ begin
       GetMem(VIDEBuffer,IDEVideoInfo.ScreenSize);
       VIDEBufferSize:=IDEVideoInfo.ScreenSize;
     end;
+  HideMouse;
   DosmemGet(VSeg,SOfs,VIDEBuffer^,IDEVideoInfo.ScreenSize);
+  ShowMouse;
 end;
 
 procedure TDosScreen.SaveConsoleScreen;