From: DeaDDooMER Date: Thu, 9 May 2019 15:43:29 +0000 (+0300) Subject: fixed input locking after load game X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=e4aa606d7d71d9836908fab23aae7e99728b11ee;p=d2df-sdl.git fixed input locking after load game --- diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas index 494839e..07a03c1 100644 --- a/src/game/g_gui.pas +++ b/src/game/g_gui.pas @@ -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;