Add forgetful restart to sighandler
This commit is contained in:
committed by
Michael Stapelberg
parent
6ec468ba1e
commit
aa422c07c4
@ -321,8 +321,9 @@ char *store_restart_layout() {
|
||||
* appends -a to argument list to disable autostart
|
||||
*
|
||||
*/
|
||||
void i3_restart() {
|
||||
char *restart_filename = store_restart_layout();
|
||||
void i3_restart(bool forget_layout) {
|
||||
char *restart_filename = forget_layout ? NULL : store_restart_layout();
|
||||
|
||||
restore_geometry();
|
||||
|
||||
ipc_shutdown();
|
||||
|
Reference in New Issue
Block a user