From 67f484e8256bb1136add395bcb482e645ae5fba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Tue, 21 Feb 2012 18:42:09 +0100 Subject: [PATCH] fix negation logic error ... --- useractions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/useractions.cpp b/useractions.cpp index e66c197495..5b74e2e2c5 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -1130,7 +1130,7 @@ void Workspace::slotSwitchToDesktop() setCurrentDesktop(i); } -#define USABLE_ACTIVE_CLIENT (!active_client || (active_client->isDesktop() || active_client->isDock())) +#define USABLE_ACTIVE_CLIENT (active_client && !(active_client->isDesktop() || active_client->isDock())) void Workspace::slotWindowToDesktop() {