typo, reading from the wrong member of the actiondata union

This commit is contained in:
Dana Jansens 2003-08-29 06:48:32 +00:00
parent 5e06be6abb
commit 0b4cd7a0cf

View file

@ -991,7 +991,7 @@ void action_send_to_desktop(union ActionData *data)
if (data->sendto.desk < screen_num_desktops ||
data->sendto.desk == DESKTOP_ALL) {
client_set_desktop(c, data->sendto.desk, data->sendtodir.follow);
client_set_desktop(c, data->sendto.desk, data->sendto.follow);
if (data->sendto.follow)
screen_set_desktop(data->sendto.desk);
}