Deprecate old protocols

This commit is contained in:
emersion 2019-02-08 23:43:59 +01:00
parent 20d404a091
commit 6c8eaaef2d
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
5 changed files with 41 additions and 0 deletions

View File

@ -1,3 +1,8 @@
/*
* This protocol is obsolete and will be removed in a future version. The
* recommended replacement is wp-primary-selection.
*/
/*
* This an unstable interface of wlroots. No guarantees are made regarding the
* future consistency of this API.
@ -12,6 +17,9 @@
#include <wayland-server.h>
#include <wlr/types/wlr_seat.h>
/**
* A primary selection manager which implements the GTK protocol.
*/
struct wlr_gtk_primary_selection_device_manager {
struct wl_global *global;
struct wl_list resources; // wl_resource_get_link

View File

@ -1,3 +1,8 @@
/*
* This protocol is obsolete and will be removed in a future version. The
* recommended replacement is wlr-screencopy.
*/
/*
* This an unstable interface of wlroots. No guarantees are made regarding the
* future consistency of this API.
@ -11,6 +16,9 @@
#include <wayland-server.h>
/**
* A very basic screenshooter interrface which implements the Orbital protocol.
*/
struct wlr_screenshooter {
struct wl_global *global;
struct wl_list screenshots; // wlr_screenshot::link

View File

@ -1,3 +1,8 @@
/*
* This protocol is obsolete and will be removed in a future version. The
* recommended replacement is xdg-decoration.
*/
/*
* This an unstable interface of wlroots. No guarantees are made regarding the
* future consistency of this API.
@ -34,6 +39,9 @@ enum wlr_server_decoration_manager_mode {
WLR_SERVER_DECORATION_MANAGER_MODE_SERVER = 2,
};
/**
* A decoration negociation interface which implements the KDE protocol.
*/
struct wlr_server_decoration_manager {
struct wl_global *global;
struct wl_list resources;

View File

@ -1,3 +1,8 @@
/*
* This protocol is obsolete and will be removed in a future version. The
* recommended replacement is xdg-shell.
*/
/*
* This an unstable interface of wlroots. No guarantees are made regarding the
* future consistency of this API.
@ -13,6 +18,9 @@
#include <wayland-server.h>
#include <wlr/types/wlr_seat.h>
/**
* A very basic interface to provide desktop-style user interfaces.
*/
struct wlr_wl_shell {
struct wl_global *global;
struct wl_list resources;

View File

@ -1,3 +1,8 @@
/*
* This protocol is obsolete and will be removed in a future version. The
* recommended replacement is xdg-shell.
*/
/*
* This an unstable interface of wlroots. No guarantees are made regarding the
* future consistency of this API.
@ -14,6 +19,10 @@
#include <wlr/types/wlr_seat.h>
#include "xdg-shell-unstable-v6-protocol.h"
/**
* An interface enabling clients to turn their wl_surfaces into windows in a
* desktop environment.
*/
struct wlr_xdg_shell_v6 {
struct wl_global *global;
struct wl_list clients;