From 1e4b48df2e24eed56b6ff1dc537fbbd769fafcfb Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 11 May 2021 03:53:43 +0200 Subject: [PATCH] useractions: Remove redundant logic --- src/useractions.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/useractions.cpp b/src/useractions.cpp index fc1dbe4a43..06b2e04958 100644 --- a/src/useractions.cpp +++ b/src/useractions.cpp @@ -1187,8 +1187,6 @@ void Workspace::slotWindowToScreen() { if (USABLE_ACTIVE_CLIENT) { const int i = senderValue(sender()); - if (i < 0) - return; if (i >= 0 && i <= screens()->count()) { sendClientToScreen(active_client, i); }