mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
Merge branch 'commit-queue-v1' into 'master'
Draft: commit-queue-v1: new protocol implementation See merge request wlroots/wlroots!4451
This commit is contained in:
commit
8db6c8db91
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