aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dwm.c')
-rw-r--r--src/core/dwm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/dwm.c b/src/core/dwm.c
index e16bc2f..cd7fdb0 100644
--- a/src/core/dwm.c
+++ b/src/core/dwm.c
@@ -1436,6 +1436,12 @@ void restack(Monitor *m)
1436 ; 1436 ;
1437} 1437}
1438 1438
1439void restart(const Arg *arg)
1440{
1441 char *argv[] = {"dwm", NULL};
1442 execvp("dwm", argv);
1443}
1444
1439void run(void) 1445void run(void)
1440{ 1446{
1441 XEvent ev; 1447 XEvent ev;