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