session-lock-v1: use wlr_surface_synced

This commit is contained in:
Simon Ser 2023-12-08 14:09:27 +01:00
parent aa32d1a127
commit 0ea6b6e2cc
2 changed files with 27 additions and 6 deletions

View file

@ -12,6 +12,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <wayland-server-core.h>
#include <wlr/types/wlr_compositor.h>
struct wlr_session_lock_manager_v1 {
struct wl_global *global;
@ -80,6 +81,8 @@ struct wlr_session_lock_surface_v1 {
// private state
struct wlr_surface_synced synced;
struct wl_listener output_destroy;
};