diff options
author | sinanmohd <sinan@firemail.cc> | 2023-09-23 09:44:45 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-09-23 09:54:32 +0530 |
commit | f42589673fa10d6f71d87b6824de21122be52a43 (patch) | |
tree | d02235937c73451aa61d0c640c8396a3ea29fba7 | |
parent | 1e24a2fe3dda8d0c4e60800c10228c7da534b2a5 (diff) |
client.h: clean up
-rw-r--r-- | client.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -167,13 +167,15 @@ client_get_appid(Client *c) return c->surface.xdg->toplevel->app_id; } -#ifdef XWAYLAND static inline int client_get_pid(Client *c) { + #ifdef XWAYLAND return c->surface.xwayland->pid; + #else + return -1; + #endif } -#endif static inline void client_get_geometry(Client *c, struct wlr_box *geom) |