aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-09-19 17:37:58 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-09-19 17:37:58 -0400
commit4132c82888d7a1dbdd4e4cea3c95ff64ac7bcea5 (patch)
treecc5389a07ff451e7ad3c0b9ab8479723623e21b0 /include
parent9ce29abf7bb94b129a4820554434bd39ea4bd973 (diff)
parentc1832372182ec2d1e2d9dc0359b71bae0421eb77 (diff)
Merge pull request #2676 from ianyfan/ipc
ipc: add pid information for views in layout tree
Diffstat (limited to 'include')
-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 {
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;