From f9103d4381cab9d6c10024ab8fbcdb35b14ef239 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 16 Apr 2022 11:26:28 +0200 Subject: wayland: add helper functions wayl_win_csd_{titlebar,borders}_visible() --- wayland.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wayland.h') 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( -- cgit v1.3