mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
Merge pull request #2933 from Snaipe/xwayland-window-properties
xwayland: populate window_properties in json for views
This commit is contained in:
commit
bdb176863c
4 changed files with 38 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue