sync when killing all keyboard grabs, so that we can be sure they are gone before proceeding (fixes a race condition when running things that want to grab the keyboard very quickly. yes, arch is that fast somehow..)
This commit is contained in:
parent
1e6e2041bf
commit
5148b839fe
1 changed files with 2 additions and 0 deletions
|
@ -1997,6 +1997,8 @@ void event_cancel_all_key_grabs(void)
|
|||
}
|
||||
else
|
||||
ungrab_passive_key();
|
||||
|
||||
XSync(ob_display, FALSE);
|
||||
}
|
||||
|
||||
gboolean event_time_after(Time t1, Time t2)
|
||||
|
|
Loading…
Reference in a new issue