sway/sway
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
..
commands input_cmd_click_method: fix typo in error text 2020-06-19 22:48:53 +02:00
config input: disable events for map_to_output devices when output not present 2020-06-19 10:02:22 +02:00
desktop output: simplify loop over layer surfaces 2020-06-30 16:19:00 +02:00
input seat: Refocus seat when wlr_drag is destroyed 2020-06-30 13:27:51 +02:00
tree tree/view: Make foreign-toplevel app_id fallback to class 2020-07-01 17:21:57 +02:00
commands.c Remove code related to the security features 2020-05-21 10:57:00 +02:00
config.c Remove code related to the security features 2020-05-21 10:57:00 +02:00
criteria.c Introduce pid criteria token 2020-02-27 14:03:22 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c i3-compat: add GET_BINDING_STATE IPC command 2020-06-14 00:55:14 -04:00
ipc-server.c i3-compat: add GET_BINDING_STATE IPC command 2020-06-14 00:55:14 -04:00
main.c Log Sway version on startup 2020-06-11 08:44:09 -06:00
meson.build Remove code related to the security features 2020-05-21 10:57:00 +02:00
server.c Implement wlr-foreign-toplevel-management-v1 2020-06-23 22:26:00 +02:00
sway-bar.5.scd swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
sway-input.5.scd fix typos in sway-input.5.scd 2020-04-29 12:43:34 +02:00
sway-ipc.7.scd i3-compat: add GET_BINDING_STATE IPC command 2020-06-14 00:55:14 -04:00
sway-output.5.scd Simplify repaint scheduling documentation 2020-05-11 10:36:33 +02:00
sway.1.scd add dots to man 2020-04-14 10:10:35 +02:00
sway.5.scd sway.5: make formatting more consistent 2020-05-20 14:11:34 +02:00
swaynag.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00