diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-09-19 22:21:09 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-09-19 22:21:09 +0100 |
commit | 81f3fda6fa9b0789c8b40582a4b85b2e9501c185 (patch) | |
tree | e31bf430e22c75dd53a857357bfbaa07f6177f1f /include/sway/tree | |
parent | 5912325d5ca63a552bb1f8e5de0b088e9bfa83e4 (diff) | |
download | sway-81f3fda6fa9b0789c8b40582a4b85b2e9501c185.tar.xz |
ipc: add pid information for views in layout tree
Diffstat (limited to 'include/sway/tree')
-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; |