Update surface fractional scale on output change

Closes: https://github.com/swaywm/sway/issues/7464
This commit is contained in:
Simon Ser 2023-02-20 10:15:07 +01:00 committed by Kenny Levinsen
parent 633d409b88
commit 7a6c7d60d5
3 changed files with 9 additions and 1 deletions

View file

@ -15,6 +15,7 @@ struct sway_surface {
struct wl_event_source *frame_done_timer;
};
void surface_update_outputs(struct wlr_surface *surface);
void surface_enter_output(struct wlr_surface *surface,
struct sway_output *output);
void surface_leave_output(struct wlr_surface *surface,