fix negation logic error ...

This commit is contained in:
Thomas Lübking 2012-02-21 18:42:09 +01:00
parent e789daf1bc
commit 67f484e825

View file

@ -1130,7 +1130,7 @@ void Workspace::slotSwitchToDesktop()
setCurrentDesktop(i); 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() void Workspace::slotWindowToDesktop()
{ {