use focus_cycle_stop to cancel focus cycling
This commit is contained in:
parent
508ce538c0
commit
12bbc0cc43
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue