missed a spot

This commit is contained in:
Mikael Magnusson 2007-05-25 15:35:24 +00:00
parent ddd2a4da21
commit 91dbbeb65e

View file

@ -1599,8 +1599,7 @@ void action_desktop(union ActionData *data)
if (data->desktop.desk < screen_num_desktops || if (data->desktop.desk < screen_num_desktops ||
data->desktop.desk == DESKTOP_ALL) data->desktop.desk == DESKTOP_ALL)
{ {
screen_set_desktop(data->desktop.desk, !focus_client screen_set_desktop(data->desktop.desk, TRUE);
|| focus->client.desktop != DESKTOP_ALL);
if (data->inter.any.interactive) if (data->inter.any.interactive)
screen_desktop_popup(data->desktop.desk, TRUE); screen_desktop_popup(data->desktop.desk, TRUE);
} }