Implement the presentation-time protocol

This commit is contained in:
emersion 2018-10-23 23:38:57 +02:00
parent 7160b8aae9
commit a654ac1bd6
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 108 additions and 89 deletions

View file

@ -135,6 +135,9 @@ bool server_init(struct sway_server *server) {
server->xdg_decoration.notify = handle_xdg_decoration;
wl_list_init(&server->xdg_decorations);
server->presentation =
wlr_presentation_create(server->wl_display, server->backend);
wlr_export_dmabuf_manager_v1_create(server->wl_display);
wlr_screencopy_manager_v1_create(server->wl_display);