mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
output: don't emit the mode event if it hasn't changed
This also fixes #535.
This commit is contained in:
parent
63763d3279
commit
94fa6c88f4
3 changed files with 16 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue