From 0b198b3d55bfac2d8166789f5df871a7b54d0dc8 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Wed, 10 Oct 2012 14:00:44 -0400 Subject: add support for tab switching with the Forward and Backward keys (XF86Forward) --- svte.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'svte.c') diff --git a/svte.c b/svte.c index c078478..3cc4477 100644 --- a/svte.c +++ b/svte.c @@ -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; } -- cgit v1.2.3