From: Mikael Magnusson Date: Wed, 18 Jul 2007 23:23:42 +0000 (+0200) Subject: allow button 8 to do lastdesktop X-Git-Tag: mikabox-3.4.3-bumpy~1 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=820e0ecd604392789d96fdf470b06377a53c4ee0;p=mikachu%2Fopenbox.git allow button 8 to do lastdesktop Signed-off-by: Mikael Magnusson --- diff --git a/openbox/event.c b/openbox/event.c index a092e1e8..c9dc1dbe 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1584,6 +1584,9 @@ static void event_handle_dock(ObDock *s, XEvent *e) screen_cycle_desktop(OB_DIRECTION_EAST, TRUE, TRUE, FALSE, TRUE, FALSE), TRUE); break; + case 8: + screen_set_desktop(screen_last_desktop, TRUE); + break; } break; case EnterNotify: