Christian Beier
Christian Beier
Until https://github.com/flatpak/xdg-desktop-portal/issues/624 adds some cross-platform way of doing this, additional code handling desktop-environment-specific cases in [`add_hotkeys_to_compositor()`](https://github.com/bk138/gromit-mpx/blob/master/src/input.c#L103) and [`remove_hotkeys_from_compositor()`](https://github.com/bk138/gromit-mpx/blob/master/src/input.c#L62) is needed. Pull requests welcome!
> edit2: the only problem remaining is that the gromit-mpx overlay blocks clicks. On Xorg, I can click through the overlay to interact with the applications behind the drawing @TRPB...
> > > edit2: the only problem remaining is that the gromit-mpx overlay blocks clicks. On Xorg, I can click through the overlay to interact with the applications behind the...
@godmar You're exactly seeing what this issue is about. Hotkeys are detected by X11 apps (Firefox, xev, xterm) and thus by the X server (XWayland) which can then tell Gromit-MPX....
> Got it. So this is not specific to KDE and the issue occurs when using GNOME as well. [This comment](https://github.com/bk138/gromit-mpx/issues/121#issuecomment-782871995) was confusing in this respect. Yeah, that links the...
> PS: for anyone wondering. [6501486](https://github.com/bk138/gromit-mpx/commit/6501486df975205eb202f06b7b1da3883d65e5f9) checks for whether `XDG_CURRENT_DESKTOP` is equal to `GNOME`. On Ubuntu 22, the value of this environment variable is however `ubuntu:GNOME`, so [this test](https://github.com/bk138/gromit-mpx/blob/a8e5ce4668fe7bb3d025360611b1719be1039817/src/input.c#L69) will...
https://github.com/flatpak/xdg-desktop-portal/issues/624 might help, at least for flatpaks and xdg-desktop-portal v1.16.
At least [Weston had some support in 2013](https://www.youtube.com/watch?v=WO2L_ihO_rI).
https://github.com/profusion/multi-seat-tests has some info about setting this up
Oldish GNOME: https://www.reddit.com/r/linuxquestions/comments/5lbdxl/multiseat_on_waylandgnome3/