diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-10 16:04:08 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-10 16:04:08 +0000 |
| commit | 9a3f05a780f8cbfeb68626552d25c48ab0245ca3 (patch) | |
| tree | b643583a54465307cb72fa8e7deb8fa8acec6136 /openbox/action.c | |
| parent | df45b1e146b31e31f7cdf9142ffc04f44d6c9649 (diff) | |
don't make interactive desktop cycling switch until you release the mods. this is needed because otherwise focus moves around during the grab and applications get confused. :|
change the pager popup to resize based on the layout so the squares can be bigger
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openbox/action.c b/openbox/action.c index bcd1b60f..5cc0bb21 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1546,8 +1546,7 @@ void action_desktop_dir(union ActionData *data) data->desktopdir.inter.final, data->desktopdir.inter.cancel); if (!data->sendtodir.inter.any.interactive || - !data->sendtodir.inter.final || - data->sendtodir.inter.cancel) + (data->sendtodir.inter.final && !data->sendtodir.inter.cancel)) { if (d != screen_desktop) screen_set_desktop(d, TRUE); } @@ -1566,8 +1565,7 @@ void action_send_to_desktop_dir(union ActionData *data) data->sendtodir.inter.final, data->sendtodir.inter.cancel); if (!data->sendtodir.inter.any.interactive || - !data->sendtodir.inter.final || - data->sendtodir.inter.cancel) + (data->sendtodir.inter.final && !data->sendtodir.inter.cancel)) { client_set_desktop(c, d, data->sendtodir.follow); if (data->sendtodir.follow && d != screen_desktop) |
