summaryrefslogtreecommitdiff
path: root/xd.c
diff options
context:
space:
mode:
Diffstat (limited to 'xd.c')
-rw-r--r--xd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xd.c b/xd.c
index bf620e8..82b80ca 100644
--- a/xd.c
+++ b/xd.c
@@ -881,6 +881,7 @@ static void HandleKey(XKeyEvent *key)
switch((sym = XLookupKeysym(key,0)))
{
case XK_Prior:
+ case XK_Down:
demo--;
if (demo<0)
@@ -893,6 +894,7 @@ static void HandleKey(XKeyEvent *key)
break;
case XK_Next:
+ case XK_Up:
demo=(demo+1)%NO_DEMOS;
XStoreName(disp,win,demotbl[demo].name);