diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-09-19 22:21:09 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-09-19 22:21:09 +0100 |
| commit | c1832372182ec2d1e2d9dc0359b71bae0421eb77 (patch) | |
| tree | e31bf430e22c75dd53a857357bfbaa07f6177f1f /include | |
| parent | c61ddf8dca7f77d0c500a6ecd2c16024fe82ad7f (diff) | |
ipc: add pid information for views in layout tree
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/tree/view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 439dc1bf..d10251dd 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -61,6 +61,8 @@ struct sway_view { struct sway_container *container; // NULL if unmapped and transactions finished struct wlr_surface *surface; // NULL for unmapped views + pid_t pid; + // Geometry of the view itself (excludes borders) in layout coordinates double x, y; int width, height; |
