aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-10-24 01:13:15 +0200
committerFurkan Sahin <furkan-dev@proton.me>2018-10-24 01:13:15 +0200
commit79017e7ad7dc3bf1d2f680b01055f6b76f437f3e (patch)
tree445c864ab22049d328dd5928a8ca3f91af325968 /include
parent94551d48fd67fd95233c5dda87e271b5d50a8ea6 (diff)
parenta0b980b062b8f169d181d13dc2f88eaa7aec6b09 (diff)
Merge pull request #2933 from Snaipe/xwayland-window-properties
xwayland: populate window_properties in json for views
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index a0b4dd46..0240f294 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -30,6 +30,7 @@ enum sway_view_prop {
VIEW_PROP_WINDOW_ROLE,
#ifdef HAVE_XWAYLAND
VIEW_PROP_X11_WINDOW_ID,
+ VIEW_PROP_X11_PARENT_ID,
#endif
};
@@ -256,6 +257,8 @@ const char *view_get_instance(struct sway_view *view);
uint32_t view_get_x11_window_id(struct sway_view *view);
+uint32_t view_get_x11_parent_id(struct sway_view *view);
+
const char *view_get_window_role(struct sway_view *view);
uint32_t view_get_window_type(struct sway_view *view);