DEADSOFTWARE

fixed input locking after load game
[d2df-sdl.git] / src / game / g_gui.pas
index 494839e01324c73d6281594ff0db2a9c60d54d49..07a03c19081dcbf21589dd8569ec03946c26b5c2 100644 (file)
@@ -2336,7 +2336,7 @@ begin
         end;
     end;
 
-  g_GUIGrabInput := FWindow.FActiveControl = Self;
+  g_GUIGrabInput := (@FOnEnterEvent = nil) and (FWindow.FActiveControl = Self);
   g_Touch_ShowKeyboard(g_GUIGrabInput)
 end;