From 94fa6c88f4eb956c75fce6c65acb335f4f9a4a07 Mon Sep 17 00:00:00 2001 From: emersion Date: Wed, 18 Apr 2018 00:15:25 +0100 Subject: output: don't emit the mode event if it hasn't changed This also fixes #535. --- include/wlr/interfaces/wlr_output.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr') diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index 5edd1ae1..c9ddf615 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -33,6 +33,7 @@ void wlr_output_update_custom_mode(struct wlr_output *output, int32_t width, int32_t height, int32_t refresh); void wlr_output_update_enabled(struct wlr_output *output, bool enabled); void wlr_output_update_needs_swap(struct wlr_output *output); +void wlr_output_damage_whole(struct wlr_output *output); void wlr_output_send_frame(struct wlr_output *output); #endif -- cgit v1.2.3