backwards logic

This commit is contained in:
Dana Jansens 2007-05-25 14:21:48 +00:00
parent ae65a6b25e
commit 9f7554a4fe

View file

@ -1588,7 +1588,7 @@ void action_send_to_desktop(union ActionData *data)
data->sendto.desk == DESKTOP_ALL) { data->sendto.desk == DESKTOP_ALL) {
client_set_desktop(c, data->sendto.desk, data->sendto.follow); client_set_desktop(c, data->sendto.desk, data->sendto.follow);
if (data->sendto.follow && data->sendto.desk != screen_desktop) 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);
} }
} }
@ -1645,7 +1645,7 @@ void action_send_to_desktop_dir(union ActionData *data)
{ {
client_set_desktop(c, d, data->sendtodir.follow); client_set_desktop(c, d, data->sendtodir.follow);
if (data->sendtodir.follow && d != screen_desktop) if (data->sendtodir.follow && d != screen_desktop)
screen_set_desktop(d, c == focus_client); screen_set_desktop(d, c != focus_client);
} }
} }