mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-31 13:45:36 -05:00
Style changes platform-funcs.hpp
This commit is contained in:
@@ -18,8 +18,8 @@ bool MacroConditionWindow::CheckWindowTitleSwitchDirect(
|
||||
const std::string ¤tWindowTitle)
|
||||
{
|
||||
bool focus = (!_focus || _window == currentWindowTitle);
|
||||
bool fullscreen = (!_fullscreen || isFullscreen(_window));
|
||||
bool max = (!_maximized || isMaximized(_window));
|
||||
bool fullscreen = (!_fullscreen || IsFullscreen(_window));
|
||||
bool max = (!_maximized || IsMaximized(_window));
|
||||
|
||||
return focus && fullscreen && max;
|
||||
}
|
||||
@@ -39,8 +39,8 @@ bool MacroConditionWindow::CheckWindowTitleSwitchRegex(
|
||||
}
|
||||
|
||||
bool focus = (!_focus || window == currentWindowTitle);
|
||||
bool fullscreen = (!_fullscreen || isFullscreen(window));
|
||||
bool max = (!_maximized || isMaximized(window));
|
||||
bool fullscreen = (!_fullscreen || IsFullscreen(window));
|
||||
bool max = (!_maximized || IsMaximized(window));
|
||||
|
||||
if (focus && fullscreen && max) {
|
||||
match = true;
|
||||
|
||||
Reference in New Issue
Block a user