From ba308616d30ec45dde2646b95c93f24b58431b44 Mon Sep 17 00:00:00 2001 From: Izakbar Date: Wed, 21 May 2025 13:00:32 +0100 Subject: [PATCH] #88 re-ActivateWindow after minimize of previous window - as sometimes windows leaves the active window pointer on wrong window --- .../Services/Implementation/ThumbnailManager.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs index 17dd054..a3e648b 100644 --- a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs +++ b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs @@ -566,6 +566,11 @@ namespace EveOPreview.Services if (this._configuration.MinimizeInactiveClients && !this._configuration.IsPriorityClient(this._activeClient.Title)) { this._windowManager.MinimizeWindow(this._activeClient.Handle, this._configuration.WindowsAnimationStyle, false); +#if LINUX + this._windowManager.ActivateWindow(foregroundClientHandle, foregroundClientTitle); +#else + this._windowManager.ActivateWindow(foregroundClientHandle, this._configuration.WindowsAnimationStyle); +#endif } this._activeClient = (foregroundClientHandle, foregroundClientTitle);