diff options
-rw-r--r-- | sway/desktop/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 37651d66..ef242a4c 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -524,7 +524,7 @@ static void handle_mode(struct wl_listener *listener, void *data) { | |||
524 | 524 | ||
525 | static void handle_transform(struct wl_listener *listener, void *data) { | 525 | static void handle_transform(struct wl_listener *listener, void *data) { |
526 | struct sway_output *output = wl_container_of(listener, output, transform); | 526 | struct sway_output *output = wl_container_of(listener, output, transform); |
527 | if (!output->enabled) { | 527 | if (!output->enabled || !output->configured) { |
528 | return; | 528 | return; |
529 | } | 529 | } |
530 | arrange_layers(output); | 530 | arrange_layers(output); |
@@ -539,7 +539,7 @@ static void update_textures(struct sway_container *con, void *data) { | |||
539 | 539 | ||
540 | static void handle_scale(struct wl_listener *listener, void *data) { | 540 | static void handle_scale(struct wl_listener *listener, void *data) { |
541 | struct sway_output *output = wl_container_of(listener, output, scale); | 541 | struct sway_output *output = wl_container_of(listener, output, scale); |
542 | if (!output->enabled) { | 542 | if (!output->enabled || !output->configured) { |
543 | return; | 543 | return; |
544 | } | 544 | } |
545 | arrange_layers(output); | 545 | arrange_layers(output); |