mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
output: Nuke wlr_output->events.present
This commit is contained in:
parent
20050bddbc
commit
544e678be0
9 changed files with 12 additions and 52 deletions
|
|
@ -1718,14 +1718,12 @@ static void handle_page_flip(int fd, unsigned seq,
|
|||
/* The DRM backend guarantees that the presentation event will be for
|
||||
* the last submitted frame. */
|
||||
.output = &conn->output,
|
||||
.commit_seq = conn->output.commit_seq,
|
||||
.presented = drm->session->active,
|
||||
.when = &present_time,
|
||||
.seq = seq,
|
||||
.refresh = mhz_to_nsec(conn->output.refresh),
|
||||
.flags = present_flags,
|
||||
};
|
||||
wlr_output_send_present(&conn->output, &present_event);
|
||||
wl_signal_emit_mutable(&conn->commit.events.present, &present_event);
|
||||
|
||||
if (drm->session->active) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue