properly handle clients disappearing during delayed focus on them
This commit is contained in:
parent
5009498d59
commit
98b021ff0c
1 changed files with 2 additions and 2 deletions
|
@ -1352,8 +1352,8 @@ static gboolean focus_delay_func(gpointer data)
|
||||||
|
|
||||||
static void focus_delay_client_dest(ObClient *client, gpointer data)
|
static void focus_delay_client_dest(ObClient *client, gpointer data)
|
||||||
{
|
{
|
||||||
ob_main_loop_timeout_remove_data(ob_main_loop, focus_delay_func,
|
if (focus_delay_data.client == client)
|
||||||
client, TRUE);
|
ob_main_loop_timeout_remove(ob_main_loop, focus_delay_func);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void event_client_dest(ObClient *client, gpointer data)
|
static void event_client_dest(ObClient *client, gpointer data)
|
||||||
|
|
Loading…
Reference in a new issue