From bc1148f0b304dc74736d124696cdede969c3b739 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 27 Sep 2003 05:57:08 +0000 Subject: [PATCH] fix cancelling desktordir actions --- openbox/action.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openbox/action.c b/openbox/action.c index 82831ed1..870e8f76 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1251,7 +1251,8 @@ 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.final || + data->sendtodir.inter.cancel) { screen_set_desktop(d); } @@ -1270,7 +1271,8 @@ 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.final || + data->sendtodir.inter.cancel) { client_set_desktop(c, d, data->sendtodir.follow); if (data->sendtodir.follow) -- 2.45.2