From 4a7e8876f78a116853fc44aaa85c2a83cef03906 Mon Sep 17 00:00:00 2001
From: Ivan Kanakarakis <ivan.kanak@gmail.com>
Date: Thu, 24 Nov 2011 00:24:40 +0200
Subject: apply retval patch

---
 src/config.h.def | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/config.h.def')

diff --git a/src/config.h.def b/src/config.h.def
index 19f656b..4d5fa41 100644
--- a/src/config.h.def
+++ b/src/config.h.def
@@ -1,6 +1,6 @@
  /* config.h for dminiwm.c [ 0.1.6 ]
  *
- *  Started from catwm 31/12/10 
+ *  Started from catwm 31/12/10
  *  Bad window error checking and numlock checking used from
  *  2wm at http://hg.suckless.org/2wm/
  *
@@ -96,6 +96,8 @@ static key keys[] = {
     {  MOD1|ShiftMask,   XK_h,          switch_horizontal, {NULL}},
     {  MOD1|ShiftMask,   XK_m,          switch_fullscreen, {NULL}},
     {  MOD1|ShiftMask,   XK_v,          switch_vertical,   {NULL}},
+    {  MOD1|ShiftMask,   XK_r,          quit,              {.i = 0}}, /* restart */
+    {  MOD1|ShiftMask,   XK_q,          quit,              {.i = 1}}, /* quit    */
 // Control + alt + shortcut
     {  MOD1|ControlMask, XK_q,          quit,              {NULL}},
     {  MOD1|ControlMask, XK_r,          spawn,             {.com = rebootcmd}},
-- 
cgit v1.3.1

