mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Rename wl_resources to resource, wl_global to global
This commit is contained in:
parent
66ac9e7f49
commit
deeca53e33
33 changed files with 114 additions and 114 deletions
|
|
@ -7,14 +7,14 @@
|
|||
struct wlr_surface;
|
||||
|
||||
struct wlr_subcompositor {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_list wl_resources;
|
||||
struct wl_global *global;
|
||||
struct wl_list resources;
|
||||
struct wl_list subsurface_resources;
|
||||
};
|
||||
|
||||
struct wlr_compositor {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_list wl_resources;
|
||||
struct wl_global *global;
|
||||
struct wl_list resources;
|
||||
struct wlr_renderer *renderer;
|
||||
struct wl_list surface_resources;
|
||||
struct wl_list region_resources;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ wlr_touch_grab_interface wlr_data_device_touch_drag_interface;
|
|||
|
||||
struct wlr_data_device_manager {
|
||||
struct wl_global *global;
|
||||
struct wl_list wl_resources;
|
||||
struct wl_list resources;
|
||||
struct wl_list data_sources;
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include <wayland-server.h>
|
||||
|
||||
struct wlr_gamma_control_manager {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_global *global;
|
||||
struct wl_list controls; // wlr_gamma_control::link
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
|
||||
struct wlr_idle {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_global *global;
|
||||
struct wl_list idle_timers; // wlr_idle_timeout::link
|
||||
struct wl_event_loop *event_loop;
|
||||
bool enabled;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
struct wlr_idle_inhibit_manager_v1 {
|
||||
struct wl_list wl_resources; // wl_resource_get_link
|
||||
struct wl_list resources; // wl_resource_get_link
|
||||
struct wl_list inhibitors; // wlr_idle_inhibit_inhibitor_v1::link
|
||||
struct wl_global *global;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <wayland-server.h>
|
||||
|
||||
struct wlr_input_inhibit_manager {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_global *global;
|
||||
struct wl_client *active_client;
|
||||
struct wl_resource *active_inhibitor;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
* the compositor should begin rendering the surface.
|
||||
*/
|
||||
struct wlr_layer_shell {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_global *global;
|
||||
struct wl_list client_resources; // wl_resource
|
||||
struct wl_list surfaces; // wl_layer_surface
|
||||
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@ struct wlr_dmabuf_buffer *wlr_dmabuf_buffer_from_params_resource(
|
|||
|
||||
/* the protocol interface */
|
||||
struct wlr_linux_dmabuf {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_global *global;
|
||||
struct wlr_renderer *renderer;
|
||||
struct wl_list wl_resources;
|
||||
struct wl_list resources;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@ struct wlr_output {
|
|||
struct wlr_backend *backend;
|
||||
struct wl_display *display;
|
||||
|
||||
struct wl_global *wl_global;
|
||||
struct wl_list wl_resources;
|
||||
struct wl_global *global;
|
||||
struct wl_list resources;
|
||||
|
||||
char name[24];
|
||||
char make[48];
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include <wayland-server.h>
|
||||
|
||||
struct wlr_screenshooter {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_global *global;
|
||||
struct wl_list screenshots; // wlr_screenshot::link
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ struct wlr_seat_client {
|
|||
struct wlr_seat *seat;
|
||||
|
||||
// lists of wl_resource
|
||||
struct wl_list wl_resources;
|
||||
struct wl_list resources;
|
||||
struct wl_list pointers;
|
||||
struct wl_list keyboards;
|
||||
struct wl_list touches;
|
||||
|
|
@ -170,7 +170,7 @@ struct wlr_seat_touch_state {
|
|||
};
|
||||
|
||||
struct wlr_seat {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_global *global;
|
||||
struct wl_display *display;
|
||||
struct wl_list clients;
|
||||
struct wl_list drag_icons; // wlr_drag_icon::link
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ enum wlr_server_decoration_manager_mode {
|
|||
};
|
||||
|
||||
struct wlr_server_decoration_manager {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_list wl_resources;
|
||||
struct wl_global *global;
|
||||
struct wl_list resources;
|
||||
struct wl_list decorations; // wlr_server_decoration::link
|
||||
|
||||
uint32_t default_mode; // enum wlr_server_decoration_manager_mode
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
#include <wlr/types/wlr_seat.h>
|
||||
|
||||
struct wlr_wl_shell {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_list wl_resources;
|
||||
struct wl_global *global;
|
||||
struct wl_list resources;
|
||||
struct wl_list surfaces;
|
||||
struct wl_list popup_grabs;
|
||||
uint32_t ping_timeout;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include "xdg-shell-protocol.h"
|
||||
|
||||
struct wlr_xdg_shell {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_global *global;
|
||||
struct wl_list clients;
|
||||
struct wl_list popup_grabs;
|
||||
uint32_t ping_timeout;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include "xdg-shell-unstable-v6-protocol.h"
|
||||
|
||||
struct wlr_xdg_shell_v6 {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_global *global;
|
||||
struct wl_list clients;
|
||||
struct wl_list popup_grabs;
|
||||
uint32_t ping_timeout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue