aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-18 00:15:25 +0100
committeremersion <contact@emersion.fr>2018-04-18 00:15:25 +0100
commit94fa6c88f4eb956c75fce6c65acb335f4f9a4a07 (patch)
treeb0f9b29ccd0aa4b6dba625436872e9d79fb67bed /include/wlr
parent63763d327969a17af43ccaf8fe4c6da941f8efcb (diff)
output: don't emit the mode event if it hasn't changed
This also fixes #535.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/interfaces/wlr_output.h1
1 files changed, 1 insertions, 0 deletions
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