diff options
author | sinanmohd <sinan@firemail.cc> | 2023-09-22 18:52:59 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-09-22 19:25:20 +0530 |
commit | 95c60bf7b5ed47d8852c0698b69369558ff6846c (patch) | |
tree | 5580138e71a08d6b082375a9e68c2a5a260cdd6d /client.h | |
parent | 662c3b5c3c55dea5eeeb6ebad81d09b645cece4d (diff) |
swallow: reimplementation after 57c70b1 by mewkl
changes:
- x support
- fixed to work after commit 4567979
Diffstat (limited to 'client.h')
-rw-r--r-- | client.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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) { |