useractions: Remove redundant logic

This commit is contained in:
Aleix Pol 2021-05-11 03:53:43 +02:00
parent c8a1f48151
commit 1e4b48df2e

View file

@ -1187,8 +1187,6 @@ void Workspace::slotWindowToScreen()
{ {
if (USABLE_ACTIVE_CLIENT) { if (USABLE_ACTIVE_CLIENT) {
const int i = senderValue(sender()); const int i = senderValue(sender());
if (i < 0)
return;
if (i >= 0 && i <= screens()->count()) { if (i >= 0 && i <= screens()->count()) {
sendClientToScreen(active_client, i); sendClientToScreen(active_client, i);
} }