mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
Wire up xdg-toplevel-tag-v1
This commit is contained in:
parent
f57c82a6f7
commit
3826535ab0
5 changed files with 39 additions and 1 deletions
|
|
@ -190,6 +190,13 @@ const char *view_get_sandbox_instance_id(struct sway_view *view) {
|
|||
return security_context ? security_context->instance_id : NULL;
|
||||
}
|
||||
|
||||
const char *view_get_tag(struct sway_view *view) {
|
||||
if (view->impl->get_string_prop) {
|
||||
return view->impl->get_string_prop(view, VIEW_PROP_TAG);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const char *view_get_shell(struct sway_view *view) {
|
||||
switch(view->type) {
|
||||
case SWAY_VIEW_XDG_SHELL:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue