dont ungrab/regrab when the position in the chain didnt move
This commit is contained in:
parent
0064695d59
commit
636a676c56
1 changed files with 5 additions and 3 deletions
|
@ -78,9 +78,11 @@ static gboolean chain_timeout(gpointer data)
|
|||
|
||||
static void set_curpos(KeyBindingTree *newpos)
|
||||
{
|
||||
grab_keys(FALSE);
|
||||
curpos = newpos;
|
||||
grab_keys(TRUE);
|
||||
if (curpose != newpos) {
|
||||
grab_keys(FALSE);
|
||||
curpos = newpos;
|
||||
grab_keys(TRUE);
|
||||
}
|
||||
|
||||
if (curpos != NULL) {
|
||||
gchar *text = NULL;
|
||||
|
|
Loading…
Reference in a new issue