diff --git a/Linphone/view/Page/Window/AbstractWindow.qml b/Linphone/view/Page/Window/AbstractWindow.qml index 5f24c8126..b8ddc8d2b 100644 --- a/Linphone/view/Page/Window/AbstractWindow.qml +++ b/Linphone/view/Page/Window/AbstractWindow.qml @@ -16,7 +16,7 @@ ApplicationWindow { width: Math.min(Utils.getSizeWithScreenRatio(1512), Screen.desktopAvailableWidth) height: Math.min(Utils.getSizeWithScreenRatio(982), Screen.desktopAvailableHeight) - onActiveChanged: UtilsCpp.setLastActiveWindow(this) + onActiveChanged: if (active) UtilsCpp.setLastActiveWindow(this) property bool isFullscreen: visibility == Window.FullScreen onIsFullscreenChanged: DesktopToolsCpp.screenSaverStatus = !isFullscreen