Change all timespec pointers in events to owned

Follow-up from !4803.  Make things consistent by making all `struct
timespec`s in events owned.  Reduces the need for thinking about
ownership/lifetimes.
This commit is contained in:
David Turner 2025-04-24 14:12:43 +01:00 committed by Simon Ser
parent f04ef79f61
commit c9f0dbc159
6 changed files with 10 additions and 10 deletions

View file

@ -245,13 +245,13 @@ struct wlr_output_event_damage {
struct wlr_output_event_precommit {
struct wlr_output *output;
struct timespec *when;
struct timespec when;
const struct wlr_output_state *state;
};
struct wlr_output_event_commit {
struct wlr_output *output;
struct timespec *when;
struct timespec when;
const struct wlr_output_state *state;
};