all repos — openbox @ 636a676c56e357a301b6a4a63e9640cb312b37df

openbox fork - make it a bit more like ryudo

dont ungrab/regrab when the position in the chain didnt move
Dana Jansens danakj@orodu.net
commit

636a676c56e357a301b6a4a63e9640cb312b37df

parent

0064695d59a558b3b2444418b68a4c9c89956d79

1 files changed, 5 insertions(+), 3 deletions(-)

jump to
M openbox/keyboard.copenbox/keyboard.c

@@ -78,9 +78,11 @@ }

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;