[DEBUG] Add dbg-txn protocol

This commit is contained in:
Kirill Primak 2024-01-08 20:04:15 +03:00
parent f8030ef5ae
commit 5b41595f4d
7 changed files with 207 additions and 1 deletions

View file

@ -0,0 +1,23 @@
/*
* This an unstable interface of wlroots. No guarantees are made regarding the
* future consistency of this API.
*/
#ifndef WLR_USE_UNSTABLE
#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
#endif
#ifndef WLR_TYPES_WLR_DBG_TXN_H
#define WLR_TYPES_WLR_DBG_TXN_H
#include <wayland-server-core.h>
#include "dbg-txn-protocol.h"
struct wlr_dbg_txn_manager {
struct wl_global *global;
struct wl_listener display_destroy;
};
struct wlr_dbg_txn_manager *wlr_dbg_txn_manager_create(struct wl_display *display);
#endif