diff --git a/river/Output.zig b/river/Output.zig index b235c1e..518bfc6 100644 --- a/river/Output.zig +++ b/river/Output.zig @@ -474,6 +474,7 @@ pub fn applyState(output: *Output, state: *wlr.Output.State) error{CommitFailed} fn handleEnableDisable(output: *Output) void { output.updateLockRenderStateOnEnableDisable(); + output.gamma_dirty = true; if (output.wlr_output.enabled) { // Add the output to root.active_outputs and the output layout if it has not diff --git a/river/Root.zig b/river/Root.zig index 1dc0cba..454c77e 100644 --- a/river/Root.zig +++ b/river/Root.zig @@ -894,6 +894,7 @@ fn handlePowerManagerSetMode( } output.updateLockRenderStateOnEnableDisable(); + output.gamma_dirty = true; } fn handleSetGamma(