summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-16 21:43:31 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-17 11:03:31 -0600
commit0067c76caba464c0636183a8318fee6d63cd2b35 (patch)
treef5de15111a041c5c5b6f35006fe6d39e293f5040
parent22d21676b016a03fe3f2d988618d0c2acca48de5 (diff)
delete unused functions
-rw-r--r--client.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/client.h b/client.h
index 7d9ff8c..186c23d 100644
--- a/client.h
+++ b/client.h
@@ -119,17 +119,6 @@ client_set_bounds(Client *c, int32_t width, int32_t height)
return 0;
}
-static inline void
-client_for_each_surface(Client *c, wlr_surface_iterator_func_t fn, void *data)
-{
- wlr_surface_for_each_surface(client_surface(c), fn, data);
-#ifdef XWAYLAND
- if (client_is_x11(c))
- return;
-#endif
- wlr_xdg_surface_for_each_popup_surface(c->surface.xdg, fn, data);
-}
-
static inline const char *
client_get_appid(Client *c)
{
@@ -381,17 +370,6 @@ client_set_suspended(Client *c, int suspended)
wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended);
}
-static inline struct wlr_surface *
-client_surface_at(Client *c, double cx, double cy, double *sx, double *sy)
-{
-#ifdef XWAYLAND
- if (client_is_x11(c))
- return wlr_surface_surface_at(c->surface.xwayland->surface,
- cx, cy, sx, sy);
-#endif
- return wlr_xdg_surface_surface_at(c->surface.xdg, cx, cy, sx, sy);
-}
-
static inline int
client_wants_focus(Client *c)
{