You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some criteria match container attributes (e.g. con_mark, con_id, floating) and many commands operate on containers, but there's no way to apply commands to non-leaf containers using criteria.
In i3 this will correctly focus the parent container.
From what I understand criteria are expanded using criteria_get_views which, as the name suggests, only returns views. handler_context.container is then set to view->container. I believe this can be solved by matching on containers instead of views. I can try to make a patch if that is of interest.
Sway Version:
$ swaymsg -t get_version
sway version 1.2
but doesn't appear to have changed on current master.
Debug Log:
I don't believe the relevant code paths do much logging. Please let me know otherwise.
Configuration File:
Reproducible with empty/default configuration.
The text was updated successfully, but these errors were encountered:
Closes#4929
Replaces criteria_get_views with criteria_get_containers which can
return containers without views when the criteria only contains
container properties.
Some criteria match container attributes (e.g.
con_mark
,con_id
,floating
) and many commands operate on containers, but there's no way to apply commands to non-leaf containers using criteria.In
i3
this will correctly focus the parent container.From what I understand criteria are expanded using
criteria_get_views
which, as the name suggests, only returns views.handler_context.container
is then set toview->container
. I believe this can be solved by matching on containers instead of views. I can try to make a patch if that is of interest.but doesn't appear to have changed on current master.
Debug Log:
I don't believe the relevant code paths do much logging. Please let me know otherwise.
Configuration File:
Reproducible with empty/default configuration.
The text was updated successfully, but these errors were encountered: