diff options
author | cos <cos> | 2015-09-16 22:37:59 +0200 |
---|---|---|
committer | cos <cos> | 2016-07-28 20:52:44 +0200 |
commit | 26f0ba3074047d074e71c904baccfce0763e346d (patch) | |
tree | 512b2a1fe22871e8599aae5ac451b634d07fc360 /src/main.c | |
parent | 492a06066ae5cca4054dbf3241863fb842eddcd1 (diff) | |
download | ratpoison-cr/add_confirmquit.zip |
Prompt on interactive quit when confirmquit is true.cr/add_confirmquit
Quitting a window manager is a very special and dangerous operation compared to
exiting an editor, a web browser or something else with a command syntax very
similar to ratpoison's. This commit adds some protection for those (us) who
occasionally unintentionally types quit at the wrong prompt.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -599,6 +599,8 @@ init_defaults (void) defaults.history_expansion = False; defaults.frame_selectors = xstrdup (""); defaults.maxundos = 20; + + defaults.confirm_on_quit = 0; } int |