diff options
author | emersion <contact@emersion.fr> | 2018-08-03 09:47:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-03 09:47:54 +0100 |
commit | 16c1e21f26ad47fb3ecfee994b19c5215734a543 (patch) | |
tree | 8c9251aeeedcfdd86381665e412c38b64a90d052 /sway/tree | |
parent | 942f92f3eb8dd035e26378c3bfd65bab30f2533a (diff) | |
parent | c17f0870ef1620e73b18f0b0ce8303c94027d19b (diff) | |
download | sway-16c1e21f26ad47fb3ecfee994b19c5215734a543.tar.xz |
Merge pull request #2415 from RyanDwyer/fix-fullscreen-container-crash
Fix crash when moving cursor over a fullscreen split container
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/container.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 46c54e2d..4a503652 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -535,7 +535,7 @@ struct sway_container *container_parent(struct sway_container *container, return container; } -struct sway_container *container_at_view(struct sway_container *swayc, +static struct sway_container *container_at_view(struct sway_container *swayc, double lx, double ly, struct wlr_surface **surface, double *sx, double *sy) { if (!sway_assert(swayc->type == C_VIEW, "Expected a view")) { @@ -574,10 +574,6 @@ struct sway_container *container_at_view(struct sway_container *swayc, return NULL; } -static struct sway_container *tiling_container_at( - struct sway_container *con, double lx, double ly, - struct wlr_surface **surface, double *sx, double *sy); - /** * container_at for a container with layout L_TABBED. */ @@ -684,7 +680,7 @@ static struct sway_container *floating_container_at(double lx, double ly, return NULL; } -static struct sway_container *tiling_container_at( +struct sway_container *tiling_container_at( struct sway_container *con, double lx, double ly, struct wlr_surface **surface, double *sx, double *sy) { if (con->type == C_VIEW) { |