aboutsummaryrefslogtreecommitdiff
path: root/include
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
parent13edb19a6ca89da3fcbafd3be01d89251658178d (diff)
Address @emersion's feedback
Diffstat (limited to 'include')
-rw-r--r--include/rootston/layers.h1
-rw-r--r--include/wlr/types/wlr_layer_shell.h14
2 files changed, 3 insertions, 12 deletions
diff --git a/include/rootston/layers.h b/include/rootston/layers.h
index cc285fe7..35f5399e 100644
--- a/include/rootston/layers.h
+++ b/include/rootston/layers.h
@@ -16,6 +16,7 @@ struct roots_layer_surface {
struct wl_listener surface_commit;
struct wl_listener output_destroy;
struct wl_listener output_mode;
+ struct wl_listener output_transform;
bool configured;
struct wlr_box geo;
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;