mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Deprecate old protocols
This commit is contained in:
		
							parent
							
								
									20d404a091
								
							
						
					
					
						commit
						6c8eaaef2d
					
				
					 5 changed files with 41 additions and 0 deletions
				
			
		| 
						 | 
					@ -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
 | 
					 * This an unstable interface of wlroots. No guarantees are made regarding the
 | 
				
			||||||
 * future consistency of this API.
 | 
					 * future consistency of this API.
 | 
				
			||||||
| 
						 | 
					@ -12,6 +17,9 @@
 | 
				
			||||||
#include <wayland-server.h>
 | 
					#include <wayland-server.h>
 | 
				
			||||||
#include <wlr/types/wlr_seat.h>
 | 
					#include <wlr/types/wlr_seat.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * A primary selection manager which implements the GTK protocol.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
struct wlr_gtk_primary_selection_device_manager {
 | 
					struct wlr_gtk_primary_selection_device_manager {
 | 
				
			||||||
	struct wl_global *global;
 | 
						struct wl_global *global;
 | 
				
			||||||
	struct wl_list resources; // wl_resource_get_link
 | 
						struct wl_list resources; // wl_resource_get_link
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
					 * This an unstable interface of wlroots. No guarantees are made regarding the
 | 
				
			||||||
 * future consistency of this API.
 | 
					 * future consistency of this API.
 | 
				
			||||||
| 
						 | 
					@ -11,6 +16,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <wayland-server.h>
 | 
					#include <wayland-server.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * A very basic screenshooter interrface which implements the Orbital protocol.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
struct wlr_screenshooter {
 | 
					struct wlr_screenshooter {
 | 
				
			||||||
	struct wl_global *global;
 | 
						struct wl_global *global;
 | 
				
			||||||
	struct wl_list screenshots; // wlr_screenshot::link
 | 
						struct wl_list screenshots; // wlr_screenshot::link
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
					 * This an unstable interface of wlroots. No guarantees are made regarding the
 | 
				
			||||||
 * future consistency of this API.
 | 
					 * future consistency of this API.
 | 
				
			||||||
| 
						 | 
					@ -34,6 +39,9 @@ enum wlr_server_decoration_manager_mode {
 | 
				
			||||||
	WLR_SERVER_DECORATION_MANAGER_MODE_SERVER = 2,
 | 
						WLR_SERVER_DECORATION_MANAGER_MODE_SERVER = 2,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * A decoration negociation interface which implements the KDE protocol.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
struct wlr_server_decoration_manager {
 | 
					struct wlr_server_decoration_manager {
 | 
				
			||||||
	struct wl_global *global;
 | 
						struct wl_global *global;
 | 
				
			||||||
	struct wl_list resources;
 | 
						struct wl_list resources;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
					 * This an unstable interface of wlroots. No guarantees are made regarding the
 | 
				
			||||||
 * future consistency of this API.
 | 
					 * future consistency of this API.
 | 
				
			||||||
| 
						 | 
					@ -13,6 +18,9 @@
 | 
				
			||||||
#include <wayland-server.h>
 | 
					#include <wayland-server.h>
 | 
				
			||||||
#include <wlr/types/wlr_seat.h>
 | 
					#include <wlr/types/wlr_seat.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * A very basic interface to provide desktop-style user interfaces.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
struct wlr_wl_shell {
 | 
					struct wlr_wl_shell {
 | 
				
			||||||
	struct wl_global *global;
 | 
						struct wl_global *global;
 | 
				
			||||||
	struct wl_list resources;
 | 
						struct wl_list resources;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
					 * This an unstable interface of wlroots. No guarantees are made regarding the
 | 
				
			||||||
 * future consistency of this API.
 | 
					 * future consistency of this API.
 | 
				
			||||||
| 
						 | 
					@ -14,6 +19,10 @@
 | 
				
			||||||
#include <wlr/types/wlr_seat.h>
 | 
					#include <wlr/types/wlr_seat.h>
 | 
				
			||||||
#include "xdg-shell-unstable-v6-protocol.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 wlr_xdg_shell_v6 {
 | 
				
			||||||
	struct wl_global *global;
 | 
						struct wl_global *global;
 | 
				
			||||||
	struct wl_list clients;
 | 
						struct wl_list clients;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue