aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_output_management_v1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/types/wlr_output_management_v1.c b/types/wlr_output_management_v1.c
index ae20e0d7..728abee7 100644
--- a/types/wlr_output_management_v1.c
+++ b/types/wlr_output_management_v1.c
@@ -680,6 +680,9 @@ static void head_send_state(struct wlr_output_head_v1 *head,
if (state & HEAD_STATE_ENABLED) {
zwlr_output_head_v1_send_enabled(head_resource, head->state.enabled);
+ // On enabling we send all current data since clients have not been
+ // notified about potential data changes while the head was disabled.
+ state = HEAD_STATE_ALL;
}
if (!head->state.enabled) {