diff options
| author | bakkeby <[email protected]> | 2021-11-11 09:21:58 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2021-11-11 09:21:58 +0100 |
| commit | efb9cc721e77128d28142893fe419e044e1ca1c7 (patch) | |
| tree | bc110113e16ec9e0d18682b826b1917bca0ae488 | |
| parent | 67fc80803d09529d0edff02c5079a71387853a10 (diff) | |
| download | dwm-flexipatch-efb9cc721e77128d28142893fe419e044e1ca1c7.tar.gz dwm-flexipatch-efb9cc721e77128d28142893fe419e044e1ca1c7.zip | |
onlyquitonempty: fix for compilation error when not using the restart sig patch ref. #196
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2755,7 +2755,11 @@ quit(const Arg *arg) for (m = mons; m; m = m->next) for (c = m->clients; c; c = c->next, n++); + #if RESTARTSIG_PATCH if (restart || n <= quit_empty_window_count) + #else + if (n <= quit_empty_window_count) + #endif // RESTARTSIG_PATCH running = 0; else fprintf(stderr, "[dwm] not exiting (n=%d)\n", n); |
