From 2017c3c3506a749e8cd61c8457a7330f9ee87f8f Mon Sep 17 00:00:00 2001
From: Ivan Kanakarakis <ivan.kanak@gmail.com>
Date: Sun, 27 Nov 2011 17:27:31 +0200
Subject: unify next_desktop and prev_desktop; export jump step on config

---
 config.h.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'config.h.def')

diff --git a/config.h.def b/config.h.def
index 7bd987b..b85da23 100644
--- a/config.h.def
+++ b/config.h.def
@@ -103,8 +103,8 @@ static key keys[] = {
     {  MOD1|ControlMask, XK_r,          spawn,             {.com = rebootcmd}},
     {  MOD1|ControlMask, XK_s,          spawn,             {.com = shutdowncmd}},
 // Window key + shortcut
-    {  MOD4,             XK_Right,      next_desktop,      {NULL}},
-    {  MOD4,             XK_Left,       prev_desktop,      {NULL}},
+    {  MOD4,             XK_Right,      next_desktop,      {.i = +1}},
+    {  MOD4,             XK_Left,       next_desktop,      {.i = -1}},
     {  MOD4,             XK_e,          spawn,             {.com = mailcmd}},
     {  MOD4,             XK_f,          spawn,             {.com = firefoxcmd}},
     {  MOD4,             XK_w,          spawn,             {.com = webcmd}},
-- 
cgit v1.3.1

