~ruther/dwl

0067c76caba464c0636183a8318fee6d63cd2b35 — Leonardo Hernández Hernández 1 year, 6 months ago 22d2167
delete unused functions
1 files changed, 0 insertions(+), 22 deletions(-)

M client.h
M client.h => client.h +0 -22
@@ 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)
{

Do not follow this link