mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 06:38:06 +02:00
Qt,Qt5: ReleaseCapture when app is deactivated.
This commit is contained in:
parent
6118e64e85
commit
f1156f551a
@ -850,6 +850,7 @@ begin
|
||||
DebugLn('TQtWidgetSet.EventFilter: Application is deactivated: ',dbgs(GetTickCount));
|
||||
{$ENDIF}
|
||||
FAppActive := False;
|
||||
ReleaseCapture;
|
||||
Application.IntfAppDeactivate;
|
||||
Result := True;
|
||||
end;
|
||||
|
@ -831,6 +831,7 @@ begin
|
||||
{$IF DEFINED(QTDEBUGAPPACTIVATE) OR DEFINED(VerboseQtEvents)}
|
||||
DebugLn('TQtWidgetSet.EventFilter: Application is deactivated: ',dbgs(GetTickCount));
|
||||
{$ENDIF}
|
||||
ReleaseCapture;
|
||||
Application.IntfAppDeactivate;
|
||||
Result := True;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user