From 9c6daa4abe18e290be1259e5914d9a28f5b594b9 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Fri, 28 Oct 2022 10:59:38 +0300 Subject: [PATCH] Fix selecting managed window --- src/window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.cc b/src/window.cc index 5c1ce52..3357852 100644 --- a/src/window.cc +++ b/src/window.cc @@ -887,7 +887,7 @@ int _selectWindow(const char* windowName) } } - if (!_selectWindowID(index)) { + if (_selectWindowID(index)) { return index; }