From 9a3f05a780f8cbfeb68626552d25c48ab0245ca3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 May 2007 16:04:08 +0000 Subject: 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 --- openbox/action.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'openbox/action.c') 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) -- cgit v1.2.3