aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-20 23:40:35 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-20 23:40:35 -0500
commit2385d826122d24b72cab2ce531ad538d87407622 (patch)
tree5a83a831d11d74c05a030d6b1a1d2ad560925137 /client.h
parent31106eff64406a004beb18c265a8b6fa0ae4f7a5 (diff)
remove unused variables
Diffstat (limited to 'client.h')
-rw-r--r--client.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/client.h b/client.h
index a881131..4ecdd47 100644
--- a/client.h
+++ b/client.h
@@ -20,7 +20,6 @@ static inline Client *
client_from_wlr_surface(struct wlr_surface *s)
{
struct wlr_xdg_surface *surface;
- struct wlr_surface *parent;
#ifdef XWAYLAND
struct wlr_xwayland_surface *xsurface;
@@ -41,7 +40,6 @@ client_from_wlr_surface(struct wlr_surface *s)
static inline Client *
client_get_parent(Client *c)
{
- Client *p;
#ifdef XWAYLAND
if (client_is_x11(c) && c->surface.xwayland->parent)
return client_from_wlr_surface(c->surface.xwayland->parent->surface);