mirror of
https://github.com/artizirk/wdisplays.git
synced 2026-10-23 18:24:56 +03:00
Keep disabled outputs disabled when applying
This commit is contained in:
1 parent
157b8c51e8
commit
a6cdf63a06
1 file changed
+1
-1
+1
-1
@@ -99,7 +99,7 @@ void wd_apply_state(struct wd_state *state, struct wl_list *new_outputs,
|
||||
i++;
|
||||
struct wd_head *head = output->head;
|
||||
|
||||
if (!output->enabled && output->enabled != head->enabled) {
|
||||
if (!output->enabled) {
|
||||
zwlr_output_configuration_v1_disable_head(config, head->wlr_head);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user