sway-patched-tray-menu/sway/tree
Johan Bjäreholt 1f8dbb320a tree/view: Make foreign-toplevel app_id fallback to class
It is not a part of the foreign-toplevel-management protocol to get the
class of a toplevel, only for getting the app_id.
For xwayland clients this is an issue because that means that you cannot
identify what application the toplevel refers to which is the point of
the app_id property.

By falling back to class when an app_id does not exist solves this problem.

Phoc also uses app_id and class interchangeably in their implementation
of foreign-toplevel-management, in fact they always do that and not only
for just this protocol.
c8d8a4c544/src/xwayland.c (L236)
2020-07-01 17:21:57 +02:00
..
arrange.c Make sure we don't calculate fractional pixel gaps 2020-01-01 10:14:29 -07:00
container.c Implement wlr-foreign-toplevel-management-v1 2020-06-23 22:26:00 +02:00
node.c Fix scratchpad fullscreen behavior and crash 2019-04-13 08:48:37 -06:00
output.c input: disable events for map_to_output devices when output not present 2020-06-19 10:02:22 +02:00
root.c Fix crash when showing scratchpad hidden split containers 2020-01-16 21:48:25 -05:00
view.c tree/view: Make foreign-toplevel app_id fallback to class 2020-07-01 17:21:57 +02:00
workspace.c tree/view: fix smart gaps when ancestor container is tabbed or stacked 2020-06-08 19:01:45 -04:00