summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorportix <none@none>2012-06-22 18:43:00 +0200
committerportix <none@none>2012-06-22 18:43:00 +0200
commitbd2a23a496f6ffb707b938b8ebc8dc513663776e (patch)
tree9ea972eb57c3613e8091a54e115ee0d452a27dac /src
parent5e4e937695a09c6b2d3c6e52a18c4002398d047e (diff)
downloaddwb-bd2a23a496f6ffb707b938b8ebc8dc513663776e.zip
Focus hints with Up/Down key
Diffstat (limited to 'src')
-rw-r--r--src/dwb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dwb.c b/src/dwb.c
index 3775b275..266d964a 100644
--- a/src/dwb.c
+++ b/src/dwb.c
@@ -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 {