aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h3
-rw-r--r--include/sway/server.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index f6dc6af2..50d90d25 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -57,6 +57,7 @@ struct sway_output {
uint32_t refresh_nsec;
int max_render_time; // In milliseconds
struct wl_event_source *repaint_timer;
+ bool gamma_lut_changed;
};
struct sway_output_non_desktop {
@@ -187,6 +188,8 @@ enum wlr_direction opposite_direction(enum wlr_direction d);
void handle_output_layout_change(struct wl_listener *listener, void *data);
+void handle_gamma_control_set_gamma(struct wl_listener *listener, void *data);
+
void handle_output_manager_apply(struct wl_listener *listener, void *data);
void handle_output_manager_test(struct wl_listener *listener, void *data);
diff --git a/include/sway/server.h b/include/sway/server.h
index a65843ce..aaa8781b 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -91,6 +91,9 @@ struct sway_server {
struct wl_listener output_manager_apply;
struct wl_listener output_manager_test;
+ struct wlr_gamma_control_manager_v1 *gamma_control_manager_v1;
+ struct wl_listener gamma_control_set_gamma;
+
struct {
bool locked;
struct wlr_session_lock_manager_v1 *manager;