diff options
author | portix <none@none> | 2012-06-22 18:43:00 +0200 |
---|---|---|
committer | portix <none@none> | 2012-06-22 18:43:00 +0200 |
commit | bd2a23a496f6ffb707b938b8ebc8dc513663776e (patch) | |
tree | 9ea972eb57c3613e8091a54e115ee0d452a27dac /src | |
parent | 5e4e937695a09c6b2d3c6e52a18c4002398d047e (diff) | |
download | dwb-bd2a23a496f6ffb707b938b8ebc8dc513663776e.zip |
Focus hints with Up/Down key
Diffstat (limited to 'src')
-rw-r--r-- | src/dwb.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1624,8 +1624,8 @@ dwb_update_hints(GdkEventKey *e) { com = "followActive"; snprintf(json, BUFFER_LENGTH, "{ \"type\" : \"%d\" }", hint_map[dwb.state.hint_type].arg); } - else if (DWB_TAB_KEY(e)) { - if (e->state & GDK_SHIFT_MASK) { + else if (DWB_COMPLETE_KEY(e)) { + if ((DWB_TAB_KEY(e) && e->state & GDK_SHIFT_MASK) || e->keyval == GDK_KEY_Up) { com = "focusPrev"; } else { |