diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-24 01:13:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 01:13:15 +0200 |
commit | bdb176863c3c45caae70abb909f9eca9f611e78f (patch) | |
tree | 445c864ab22049d328dd5928a8ca3f91af325968 /include/sway/tree | |
parent | Merge pull request #2942 from ianyfan/swaybar (diff) | |
parent | xwayland: populate window_properties in json for views (diff) | |
download | sway-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')
-rw-r--r-- | include/sway/tree/view.h | 3 |
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 | ||
257 | uint32_t view_get_x11_window_id(struct sway_view *view); | 258 | uint32_t view_get_x11_window_id(struct sway_view *view); |
258 | 259 | ||
260 | uint32_t view_get_x11_parent_id(struct sway_view *view); | ||
261 | |||
259 | const char *view_get_window_role(struct sway_view *view); | 262 | const char *view_get_window_role(struct sway_view *view); |
260 | 263 | ||
261 | uint32_t view_get_window_type(struct sway_view *view); | 264 | uint32_t view_get_window_type(struct sway_view *view); |