aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-16 09:26:28 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-16 09:42:25 +0000
commitf9103d4381cab9d6c10024ab8fbcdb35b14ef239 (patch)
treed3fe7852f3b1802ae48ec01434b6f03b84e95e67 /wayland.h
parentwayland: take (visible) border width into account on configure events (diff)
wayland: add helper functions wayl_win_csd_{titlebar,borders}_visible()
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index e593073e..62ab1d5f 100644
--- a/wayland.h
+++ b/wayland.h
@@ -511,6 +511,9 @@ void wayl_win_destroy(struct wl_window *win);
bool wayl_win_set_urgent(struct wl_window *win);
+bool wayl_win_csd_titlebar_visible(const struct wl_window *win);
+bool wayl_win_csd_borders_visible(const struct wl_window *win);
+
bool wayl_win_subsurface_new(
struct wl_window *win, struct wl_surf_subsurf *surf);
bool wayl_win_subsurface_new_with_custom_parent(