data->sendto.desk == DESKTOP_ALL) {
client_set_desktop(c, data->sendto.desk, data->sendto.follow);
if (data->sendto.follow && data->sendto.desk != screen_desktop)
- screen_set_desktop(data->sendto.desk, c == focus_client);
+ screen_set_desktop(data->sendto.desk, c != focus_client);
}
}
{
client_set_desktop(c, d, data->sendtodir.follow);
if (data->sendtodir.follow && d != screen_desktop)
- screen_set_desktop(d, c == focus_client);
+ screen_set_desktop(d, c != focus_client);
}
}