Commit 1e4b48df authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

useractions: Remove redundant logic

parent c8a1f481
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment