From 061dfaa2e7dcc823c1313d64ddd06000f0d7ab30 Mon Sep 17 00:00:00 2001 From: Evy Garden <92547295+EvysGarden@users.noreply.github.com> Date: Fri, 7 Jul 2023 05:11:21 +0200 Subject: Fix toplevel borders (#171) * added check for smart * expose gaps_to_edge * add smart variable --- include/sway/tree/view.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sway/tree/view.h') diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 9d468612..7b52aa4b 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -378,4 +378,6 @@ bool view_is_transient_for(struct sway_view *child, struct sway_view *ancestor); void view_assign_ctx(struct sway_view *view, struct launcher_ctx *ctx); +bool gaps_to_edge(struct sway_view *view); + #endif -- cgit v1.2.3