From 161588e43bb7954295845e20fe72efd3d898e7c0 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Thu, 22 Oct 2020 19:40:21 +0200 Subject: [PATCH] allow WS_EX_TOOLWINDOW as valid window to match 'Task Switching' --- src/win/advanced-scene-switcher-win.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/win/advanced-scene-switcher-win.cpp b/src/win/advanced-scene-switcher-win.cpp index bd37e3a8..ad276ac9 100644 --- a/src/win/advanced-scene-switcher-win.cpp +++ b/src/win/advanced-scene-switcher-win.cpp @@ -35,10 +35,7 @@ static bool WindowValid(HWND window) GetClientRect(window, &rect); styles = GetWindowLongPtr(window, GWL_STYLE); - ex_styles = GetWindowLongPtr(window, GWL_EXSTYLE); - if (ex_styles & WS_EX_TOOLWINDOW) - return false; if (styles & WS_CHILD) return false;