mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
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:
parent
f04ef79f61
commit
c9f0dbc159
6 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue