summaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-10-24 01:13:15 +0200
committerLibravatar GitHub <noreply@github.com>2018-10-24 01:13:15 +0200
commitbdb176863c3c45caae70abb909f9eca9f611e78f (patch)
tree445c864ab22049d328dd5928a8ca3f91af325968 /include/sway/tree/view.h
parentMerge pull request #2942 from ianyfan/swaybar (diff)
parentxwayland: populate window_properties in json for views (diff)
downloadsway-bdb176863c3c45caae70abb909f9eca9f611e78f.tar.gz
sway-bdb176863c3c45caae70abb909f9eca9f611e78f.tar.zst
sway-bdb176863c3c45caae70abb909f9eca9f611e78f.zip
Merge pull request #2933 from Snaipe/xwayland-window-properties
xwayland: populate window_properties in json for views
Diffstat (limited to 'include/sway/tree/view.h')
-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 {
30 VIEW_PROP_WINDOW_ROLE, 30 VIEW_PROP_WINDOW_ROLE,
31#ifdef HAVE_XWAYLAND 31#ifdef HAVE_XWAYLAND
32 VIEW_PROP_X11_WINDOW_ID, 32 VIEW_PROP_X11_WINDOW_ID,
33 VIEW_PROP_X11_PARENT_ID,
33#endif 34#endif
34}; 35};
35 36
@@ -256,6 +257,8 @@ const char *view_get_instance(struct sway_view *view);
256 257
257uint32_t view_get_x11_window_id(struct sway_view *view); 258uint32_t view_get_x11_window_id(struct sway_view *view);
258 259
260uint32_t view_get_x11_parent_id(struct sway_view *view);
261
259const char *view_get_window_role(struct sway_view *view); 262const char *view_get_window_role(struct sway_view *view);
260 263
261uint32_t view_get_window_type(struct sway_view *view); 264uint32_t view_get_window_type(struct sway_view *view);