aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-27 17:18:16 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-27 18:51:41 -0400
commit52fe2688ea1068d5cd0801ead4fc078c3a37dea1 (patch)
treecf8b5a52b3117cd1ff3aa188d059b0a466145b2a /include/wlr
parent13edb19a6ca89da3fcbafd3be01d89251658178d (diff)
Address @emersion's feedback
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_layer_shell.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/include/wlr/types/wlr_layer_shell.h b/include/wlr/types/wlr_layer_shell.h
index c24b391e..e8da8e0f 100644
--- a/include/wlr/types/wlr_layer_shell.h
+++ b/include/wlr/types/wlr_layer_shell.h
@@ -21,7 +21,7 @@
*/
struct wlr_layer_shell {
struct wl_global *wl_global;
- struct wl_list clients;
+ struct wl_list client_resources; // wl_resource
struct wl_listener display_destroy;
@@ -32,15 +32,6 @@ struct wlr_layer_shell {
void *data;
};
-struct wlr_layer_client {
- struct wlr_layer_shell *shell;
- struct wl_resource *resource;
- struct wl_client *client;
- struct wl_list surfaces;
-
- struct wl_list link; // wlr_layer_shell::clients
-};
-
struct wlr_layer_surface_state {
uint32_t anchor;
int32_t exclusive_zone;
@@ -61,9 +52,8 @@ struct wlr_layer_surface_configure {
struct wlr_layer_surface {
struct wlr_surface *surface;
struct wlr_output *output;
- struct wlr_layer_client *client;
struct wl_resource *resource;
- struct wl_list link; // wlr_layer_client:surfaces
+ struct wlr_layer_shell *shell;
const char *namespace;
enum zwlr_layer_shell_v1_layer layer;