Merge pull request #1532 from emersion/deprecate-old-protocols

Mark old protocols as obsolete
This commit is contained in:
Drew DeVault 2019-02-09 22:43:12 +01:00 committed by GitHub
commit 95ff898512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;