From: Dana Jansens Date: Sat, 26 May 2007 20:52:21 +0000 (+0000) Subject: use focus_cycle_stop to cancel focus cycling X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=12bbc0cc430b32a71f9e868cf6cc6459bcc43e79;p=chaz%2Fopenbox use focus_cycle_stop to cancel focus cycling --- diff --git a/openbox/focus_cycle.c b/openbox/focus_cycle.c index cb6678d2..81557fe3 100644 --- a/openbox/focus_cycle.c +++ b/openbox/focus_cycle.c @@ -71,10 +71,9 @@ void focus_cycle_stop() static void focus_cycle_destroy_notify(ObClient *client, gpointer data) { /* end cycling if the target disappears. CurrentTime is fine, time won't - be used - */ + be used */ if (focus_cycle_target == client) - focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE); + focus_cycle_stop(); } /*! Returns if a focus target has valid group siblings that can be cycled