From 9e705cb34ba8cea7d87216e166cfb150af60c40c Mon Sep 17 00:00:00 2001 From: LordGrimmauld Date: Tue, 2 Apr 2024 11:26:12 +0200 Subject: [PATCH] fix yet another logic bug --- Keys/MainWindowAwareKeyListener.h | 2 +- flake.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Keys/MainWindowAwareKeyListener.h b/Keys/MainWindowAwareKeyListener.h index 6f5a7df..a76348c 100644 --- a/Keys/MainWindowAwareKeyListener.h +++ b/Keys/MainWindowAwareKeyListener.h @@ -65,7 +65,7 @@ protected: workspaceNode = getModel()->getRoot()->findWorkspaceByName(std::to_string(newWorkspace)); } while (workspaceNode != nullptr && (workspaceNode->childCount() != 0 - || (preferredOutput != nullptr && preferredOutput == workspaceNode->findOutput()))); + || (preferredOutput != nullptr && preferredOutput != workspaceNode->findOutput()))); return std::to_string(newWorkspace); } diff --git a/flake.nix b/flake.nix index e71d1fb..e177bb0 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,8 @@ default = pkgs.mkShell { packages = with pkgs; [ # base toolchain - gcc12 + gcc13 + gdb clang libgcc qt6.full