Merge pull request #873 from emersion/output-dont-emit-mode-twice

output: don't emit the mode event if it hasn't changed
This commit is contained in:
Drew DeVault 2018-04-17 21:08:27 -04:00 committed by GitHub
commit dbdc63ddde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 6 deletions

View file

@ -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