summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-09-19 17:37:58 -0400
committerLibravatar GitHub <noreply@github.com>2018-09-19 17:37:58 -0400
commit6ec362622841a3efe336daf9e74edca16e4bf984 (patch)
treecc5389a07ff451e7ad3c0b9ab8479723623e21b0 /include
parentMerge pull request #2669 from RyanDwyer/create-output-command (diff)
parentipc: add pid information for views in layout tree (diff)
downloadsway-6ec362622841a3efe336daf9e74edca16e4bf984.tar.gz
sway-6ec362622841a3efe336daf9e74edca16e4bf984.tar.zst
sway-6ec362622841a3efe336daf9e74edca16e4bf984.zip
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 {
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;