From 12bbc0cc430b32a71f9e868cf6cc6459bcc43e79 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 26 May 2007 20:52:21 +0000 Subject: [PATCH] use focus_cycle_stop to cancel focus cycling --- openbox/focus_cycle.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.45.2