This commit is contained in:
Aren 2025-04-13 20:11:28 +07:00 committed by GitHub
commit 9ed92da477
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 211 additions and 19 deletions

View file

@ -13,6 +13,7 @@ struct sway_layer_surface {
struct wl_listener node_destroy;
struct wl_listener new_popup;
bool show_over_lockscreen;
bool mapped;
struct wlr_scene_tree *popups;

View file

@ -0,0 +1,4 @@
#include <wayland-server-core.h>
struct sway_lockscreen_overlay;
struct sway_lockscreen_overlay *sway_lockscreen_overlay_create(struct wl_display *display);

View file

@ -97,6 +97,8 @@ struct sway_server {
struct wl_listener manager_destroy;
} session_lock;
struct sway_lockscreen_overlay *lockscreen_overlay;
struct wlr_output_power_manager_v1 *output_power_manager_v1;
struct wl_listener output_power_manager_set_mode;
struct wlr_input_method_manager_v2 *input_method;