aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-09-19 22:21:09 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-09-19 22:21:09 +0100
commit81f3fda6fa9b0789c8b40582a4b85b2e9501c185 (patch)
treee31bf430e22c75dd53a857357bfbaa07f6177f1f /include/sway/tree/view.h
parentswaybar: add debugging statements for handling i3bar json (diff)
downloadsway-81f3fda6fa9b0789c8b40582a4b85b2e9501c185.tar.gz
sway-81f3fda6fa9b0789c8b40582a4b85b2e9501c185.tar.zst
sway-81f3fda6fa9b0789c8b40582a4b85b2e9501c185.zip
ipc: add pid information for views in layout tree
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h2
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 {
61 struct sway_container *container; // NULL if unmapped and transactions finished 61 struct sway_container *container; // NULL if unmapped and transactions finished
62 struct wlr_surface *surface; // NULL for unmapped views 62 struct wlr_surface *surface; // NULL for unmapped views
63 63
64 pid_t pid;
65
64 // Geometry of the view itself (excludes borders) in layout coordinates 66 // Geometry of the view itself (excludes borders) in layout coordinates
65 double x, y; 67 double x, y;
66 int width, height; 68 int width, height;