useractions: Remove redundant logic
This commit is contained in:
parent
c8a1f48151
commit
1e4b48df2e
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue