fullscreen-shell: remove

The protocol implementation has been marked as deprecated in the
previous release.

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3846
This commit is contained in:
Kirill Primak 2025-03-30 01:15:09 +03:00
parent 99da6ccc87
commit 9dbf5b9f6b
6 changed files with 0 additions and 447 deletions

View file

@ -1,42 +0,0 @@
/*
* This is a deprecated interface of wlroots. It will be removed in a future
* version.
*/
#ifndef WLR_USE_UNSTABLE
#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
#endif
#ifndef WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H
#define WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H
#include <wayland-server-core.h>
#include "fullscreen-shell-unstable-v1-protocol.h"
struct wlr_fullscreen_shell_v1 {
struct wl_global *global;
struct {
struct wl_signal destroy;
// struct wlr_fullscreen_shell_v1_present_surface_event
struct wl_signal present_surface;
} events;
void *data;
struct {
struct wl_listener display_destroy;
} WLR_PRIVATE;
};
struct wlr_fullscreen_shell_v1_present_surface_event {
struct wl_client *client;
struct wlr_surface *surface; // can be NULL
enum zwp_fullscreen_shell_v1_present_method method;
struct wlr_output *output; // can be NULL
};
struct wlr_fullscreen_shell_v1 *wlr_fullscreen_shell_v1_create(
struct wl_display *display);
#endif