diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-12-20 11:56:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-20 11:56:39 -0500 |
commit | 373def44468e0c919031a6ffe3049f91680e05ca (patch) | |
tree | e40dfdcc9292a71fcc2160bc5d643a66996664dc /include/sway/container.h | |
parent | a51e74beb91a98181d6bc69137d377cd49e72d1f (diff) | |
parent | 63f7fb95172a72436698a1562b4f7ea1e9100a7e (diff) |
Merge pull request #1505 from acrisci/feature/input
input management and seat
Diffstat (limited to 'include/sway/container.h')
-rw-r--r-- | include/sway/container.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/container.h b/include/sway/container.h index b15e0428..9a5e312b 100644 --- a/include/sway/container.h +++ b/include/sway/container.h @@ -3,6 +3,7 @@ #include <stdint.h> #include <sys/types.h> #include <wlr/types/wlr_box.h> +#include <wlr/types/wlr_surface.h> #include "list.h" typedef struct sway_container swayc_t; @@ -123,6 +124,10 @@ struct sway_container { * Marks applied to the container, list_t of char*. */ list_t *marks; + + struct { + struct wl_signal destroy; + } events; }; void swayc_descendants_of_type(swayc_t *root, enum swayc_types type, @@ -137,4 +142,7 @@ swayc_t *destroy_view(swayc_t *view); swayc_t *swayc_parent_by_type(swayc_t *container, enum swayc_types type); +swayc_t *swayc_at(swayc_t *parent, double lx, double ly, + struct wlr_surface **surface, double *sx, double *sy); + #endif |