diff options
author | mutantturkey <mutantturke@gmail.com> | 2012-10-10 14:00:44 -0400 |
---|---|---|
committer | mutantturkey <mutantturke@gmail.com> | 2012-10-10 14:00:44 -0400 |
commit | 0b198b3d55bfac2d8166789f5df871a7b54d0dc8 (patch) | |
tree | bea01f54334ee4c386b8f2f1c089ddd5f1ffd94b | |
parent | 5e010e3e456009e78d8b6301bc6ec468c2bdec62 (diff) |
add support for tab switching with the Forward and Backward keys (XF86Forward)
-rw-r--r-- | svte.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -173,6 +173,16 @@ gboolean event_key(GtkWidget *widget, GdkEventKey *event, window *w) { return TRUE; } } + + if(g == GDK_KEY_Forward) { + tab_switch(TRUE, w); + return TRUE; + } + + if(g == GDK_KEY_Back) { + tab_switch(FALSE, w); + return TRUE; + } return FALSE; } |