mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
Don't ignore initialisation errors
server_init ignores all errors. In practice, theses result in a segfault, potentially much later and losing any unsaved work. Properly handle initialisation errors and bail immediately.
This commit is contained in:
parent
909a2ddb5f
commit
1606311553
5 changed files with 222 additions and 23 deletions
|
|
@ -162,7 +162,7 @@ void workspace_squash(struct sway_workspace *workspace);
|
|||
void workspace_move_to_output(struct sway_workspace *workspace,
|
||||
struct sway_output *output);
|
||||
|
||||
void sway_ext_workspace_init(void);
|
||||
bool sway_ext_workspace_init(void);
|
||||
void sway_ext_workspace_output_enable(struct sway_output *output);
|
||||
void sway_ext_workspace_output_disable(struct sway_output *output);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue