aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client.h')
-rw-r--r--client.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/client.h b/client.h
index 5a45edc..fdea2f4 100644
--- a/client.h
+++ b/client.h
@@ -167,6 +167,14 @@ client_get_appid(Client *c)
return c->surface.xdg->toplevel->app_id;
}
+#ifdef XWAYLAND
+static inline int
+client_get_pid(Client *c)
+{
+ return c->surface.xwayland->pid;
+}
+#endif
+
static inline void
client_get_geometry(Client *c, struct wlr_box *geom)
{