when canceling focus cycling, cancel both normal and directional

This commit is contained in:
Dana Jansens 2007-05-26 20:48:52 +00:00
parent a76ac8205c
commit 508ce538c0

View file

@ -62,8 +62,10 @@ void focus_cycle_shutdown(gboolean reconfig)
void focus_cycle_stop() void focus_cycle_stop()
{ {
if (focus_cycle_target) if (focus_cycle_target) {
focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE); focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE);
focus_directional_cycle(0, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE);
}
} }
static void focus_cycle_destroy_notify(ObClient *client, gpointer data) static void focus_cycle_destroy_notify(ObClient *client, gpointer data)