use focus_cycle_stop to cancel focus cycling

This commit is contained in:
Dana Jansens 2007-05-26 20:52:21 +00:00
parent 508ce538c0
commit 12bbc0cc43

View file

@ -71,10 +71,9 @@ void focus_cycle_stop()
static void focus_cycle_destroy_notify(ObClient *client, gpointer data) static void focus_cycle_destroy_notify(ObClient *client, gpointer data)
{ {
/* end cycling if the target disappears. CurrentTime is fine, time won't /* end cycling if the target disappears. CurrentTime is fine, time won't
be used be used */
*/
if (focus_cycle_target == client) 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 /*! Returns if a focus target has valid group siblings that can be cycled