diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2023-03-04 22:42:40 +0300 |
---|---|---|
committer | Isaac Freund <mail@isaacfreund.com> | 2023-06-02 17:26:18 +0000 |
commit | c63f3659c54f70398100fcec13fd5f69d408689e (patch) | |
tree | d6805cccc341d444cb2a002aff3a619616eed53a /include/wlr | |
parent | b0437fc416e2938f49449c3d9cb1a8107544c335 (diff) |
layer-shell: use unified map logic
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_layer_shell_v1.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/include/wlr/types/wlr_layer_shell_v1.h b/include/wlr/types/wlr_layer_shell_v1.h index d94b5923..e15b30c2 100644 --- a/include/wlr/types/wlr_layer_shell_v1.h +++ b/include/wlr/types/wlr_layer_shell_v1.h @@ -84,7 +84,7 @@ struct wlr_layer_surface_v1 { char *namespace; - bool added, configured, mapped; + bool added, configured; struct wl_list configure_list; struct wlr_layer_surface_v1_state current, pending; @@ -98,20 +98,6 @@ struct wlr_layer_surface_v1 { */ struct wl_signal destroy; /** - * The map signal indicates that the client has configured itself and is - * ready to be rendered by the compositor. - */ - struct wl_signal map; - /** - * The unmap signal indicates that the surface is no longer in a state where - * it should be rendered by the compositor. This might happen if the surface - * no longer has a displayable buffer because either the surface has been - * hidden or is about to be destroyed. It is guaranteed that the unmap signal - * is raised before the destroy signal if the layer surface is destroyed - * while mapped. - */ - struct wl_signal unmap; - /** * The new_popup signal is raised when a new popup is created. The data * parameter passed to the listener is a pointer to the new * struct wlr_xdg_popup. |