fullscreen-shell: use WLR_DEPRECATED

This commit is contained in:
Kirill Primak 2024-06-10 20:13:32 +03:00
parent 6074cbe2eb
commit 1addf857b5

View file

@ -11,6 +11,7 @@
#define WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H #define WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H
#include <wayland-server-core.h> #include <wayland-server-core.h>
#include <wlr/api.h>
#include "fullscreen-shell-unstable-v1-protocol.h" #include "fullscreen-shell-unstable-v1-protocol.h"
struct wlr_fullscreen_shell_v1 { struct wlr_fullscreen_shell_v1 {
@ -34,6 +35,7 @@ struct wlr_fullscreen_shell_v1_present_surface_event {
struct wlr_output *output; // can be NULL struct wlr_output *output; // can be NULL
}; };
WLR_DEPRECATED("fullscreen-shell support will be removed in the next version")
struct wlr_fullscreen_shell_v1 *wlr_fullscreen_shell_v1_create( struct wlr_fullscreen_shell_v1 *wlr_fullscreen_shell_v1_create(
struct wl_display *display); struct wl_display *display);