From f7e38e44a7936b4d13d4154ade9bc7a768c2ea2d Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Tue, 12 Mar 2013 21:43:44 +0100 Subject: [PATCH] Remove useless `reload_*` messages --- README.md | 4 ---- bspwm.1 | 6 ------ messages.c | 4 ---- 3 files changed, 14 deletions(-) diff --git a/README.md b/README.md index ee8e26e..10b4b78 100644 --- a/README.md +++ b/README.md @@ -179,10 +179,6 @@ The following messages are handled: - `adopt_orphans` — Manage all the unmanaged windows remaining from a previous session. -- `reload_autostart` — Reload the autostart file. - -- `reload_settings` — Reload the default settings. - - `restore FILE_PATH` — Restore the layout of each desktop from the content of `FILE_PATH`. - `quit [EXIT_STATUS]` — Quit. diff --git a/bspwm.1 b/bspwm.1 index 6963394..2367155 100644 --- a/bspwm.1 +++ b/bspwm.1 @@ -257,12 +257,6 @@ Remove the rules with the given UIDs. .BI adopt_orphans Manage all the unmanaged windows remaining from a previous session. .TP -.BI reload_autostart -Reload the autostart file. -.TP -.BI reload_settings -Reload the default settings. -.TP .BI restore " FILE_PATH" Restore the layout of each desktop from the content of FILE_PATH. .TP diff --git a/messages.c b/messages.c index 7f3bd8c..0dd3082 100644 --- a/messages.c +++ b/messages.c @@ -425,10 +425,6 @@ void process_message(char *msg, char *rsp) return; } else if (strcmp(cmd, "adopt_orphans") == 0) { adopt_orphans(); - } else if (strcmp(cmd, "reload_autostart") == 0) { - run_autostart(); - } else if (strcmp(cmd, "reload_settings") == 0) { - load_settings(); } else if (strcmp(cmd, "restore") == 0) { char *arg = strtok(NULL, TOK_SEP); restore(arg);