diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-30 22:22:21 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-30 22:39:03 -0600 |
commit | 5f7d396996ce67bce4f2a35c936e9879576b5aa1 (patch) | |
tree | 5005b478f5af5d8142cf339984afd2ec1b7c234f | |
parent | 901d2e2d9d54ab6c6a66d0877402bab04a60093e (diff) |
don't return early if the first output commit fails
-rw-r--r-- | dwl.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -898,10 +898,7 @@ createmon(struct wl_listener *listener, void *data) LISTEN(&wlr_output->events.request_state, &m->request_state, requestmonstate); wlr_output_state_set_enabled(&state, 1); - if (!wlr_output_commit_state(wlr_output, &state)) { - wlr_output_state_finish(&state); - return; - } + wlr_output_commit_state(wlr_output, &state); wlr_output_state_finish(&state); wl_list_insert(&mons, &m->link); |