diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-23 13:00:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 13:00:57 +0200 |
commit | e2ed7be0baa6fe17d6a4a73c68ac1e8b6dea96f9 (patch) | |
tree | 101646e1bb387610b1e29f24427ea4bd01fd546f /include/rootston | |
parent | da944cccb3b118f01a5e8a5406c328ddb75822d7 (diff) | |
parent | 32e043f996d00428731e9d97f8e45180574681b1 (diff) |
Merge pull request #877 from agx/layer-popups
Layer popups: work on top of PR 867
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/layers.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/rootston/layers.h b/include/rootston/layers.h index 0e5164bb..9eab53ca 100644 --- a/include/rootston/layers.h +++ b/include/rootston/layers.h @@ -14,11 +14,21 @@ struct roots_layer_surface { struct wl_listener unmap; struct wl_listener surface_commit; struct wl_listener output_destroy; + struct wl_listener new_popup; bool configured; struct wlr_box geo; }; +struct roots_layer_popup { + struct roots_layer_surface *parent; + struct wlr_xdg_popup *wlr_popup; + struct wl_listener map; + struct wl_listener unmap; + struct wl_listener destroy; + struct wl_listener commit; +}; + struct roots_output; void arrange_layers(struct roots_output *output); |