소스 검색

Amiga-likes: do not call Drivers.GetSystemEvent, FV doesn't really handle it, and causes issues if the system events are swallowed by various components. the IDE has direct system event integration in its main loop.

git-svn-id: trunk@29332 -
Károly Balogh 11 년 전
부모
커밋
136f845576
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      packages/fv/src/app.pas

+ 6 - 0
packages/fv/src/app.pas

@@ -947,8 +947,14 @@ BEGIN
            Drivers.GetMouseEvent(Event);              { Load mouse event }
            If (Event.What = evNothing) Then
              begin
+{$IFNDEF HASAMIGA}
+               { due to isses with the event handling in FV itself,
+                 we skip this here, and let the IDE to handle it
+                 directly on Amiga-like systems. The FV itself cannot
+                 handle the System Events anyway. (KB) }
                Drivers.GetSystemEvent(Event);         { Load system event }
                If (Event.What = evNothing) Then
+{$ENDIF}
                  Idle;     { Idle if no event }
              end;
          End;