mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
commit-queue-v1: new protocol implementation
References: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/256
This commit is contained in:
parent
4fbe648faf
commit
f60d7e4ae6
4 changed files with 198 additions and 0 deletions
24
include/wlr/types/wlr_commit_queue_v1.h
Normal file
24
include/wlr/types/wlr_commit_queue_v1.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef WLR_TYPES_WLR_COMMIT_QUEUE_V1_H
|
||||
#define WLR_TYPES_WLR_COMMIT_QUEUE_V1_H
|
||||
|
||||
#include <wayland-server-core.h>
|
||||
#include "commit-queue-v1-protocol.h"
|
||||
|
||||
struct wlr_surface;
|
||||
|
||||
struct wlr_commit_queue_manager_v1 {
|
||||
struct wl_global *global;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
// private state
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
};
|
||||
|
||||
struct wlr_commit_queue_manager_v1 *wlr_commit_queue_manager_v1_create(struct wl_display *display, uint32_t version);
|
||||
enum wp_commit_queue_v1_queue_mode wlr_commit_queue_v1_get_surface_mode(struct wlr_surface *surface);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue