Превосходное состояние проекта

This commit is contained in:
2025-11-17 01:31:00 +03:00
parent 0d3efeda49
commit e0ac79bae1
8 changed files with 336 additions and 271 deletions

View File

@@ -3,19 +3,10 @@
#include <wayland-client.h>
/* Initialize registry listener on the given registry */
void registry_add_listener(struct wl_registry *registry);
int registry_global_bind(struct wl_display *display);
void registry_global_unbind(void);
/* Prepare per-thread bindings for compositor/shm/xdg_wm_base */
int registry_thread_bind(struct wl_display *display, struct wl_event_queue *queue);
/* Release per-thread resources allocated by registry_thread_bind */
void registry_thread_unbind(void);
/* Reset global registry bookkeeping (used during teardown) */
void registry_reset_globals(void);
/* Accessors for bound globals (per-thread via registry_thread_bind) */
/* Доступ к привязанным глобальным объектам */
struct wl_compositor *registry_get_compositor(void);
struct wl_shm *registry_get_shm(void);
struct xdg_wm_base *registry_get_xdg_wm_base(void);