diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-25 14:44:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-25 14:44:49 +0000 |
| commit | 6a9d502f2020a73202b919ee3e9d85999ededd0f (patch) | |
| tree | b8392bf464d4429a2dc8802a9f700a0f5326faa1 /openbox/action.c | |
| parent | c83832887bd6ca51fa9e04d91dab086c1bcb4229 (diff) | |
put the actions back so they don't have to be smart.
make focus_fallback not send focus anywhere if the new target is the same as what is already focused
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/action.c b/openbox/action.c index 081b68f5..1d815efc 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1588,7 +1588,7 @@ void action_send_to_desktop(union ActionData *data) 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, TRUE); } } @@ -1601,7 +1601,7 @@ void action_desktop(union ActionData *data) { screen_set_desktop(data->desktop.desk, TRUE); if (data->inter.any.interactive) - screen_desktop_popup(data->desktop.desk, focus_client->desktop != DESKTOP_ALL); + screen_desktop_popup(data->desktop.desk, TRUE); } } @@ -1621,7 +1621,7 @@ void action_desktop_dir(union ActionData *data) if (!data->sendtodir.inter.any.interactive || (data->sendtodir.inter.final && !data->sendtodir.inter.cancel)) { - if (d != screen_desktop) screen_set_desktop(d, focus_client->desktop != DESKTOP_ALL); + if (d != screen_desktop) screen_set_desktop(d, TRUE); } } @@ -1645,7 +1645,7 @@ void action_send_to_desktop_dir(union ActionData *data) { 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, TRUE); } } |
