.desktop: remove StartupWMClass from server, use distinct StartupWMClass for foot and footclient

For this to work, the default app-id of footclient has been changed
from ‘foot’ to ‘footclient’.

By using distinct StartupWMClasses, the compositor can connect a
running foot/footclient instance to the correct .desktop-file. This
ensures the correct icon is being used in e.g. docks, and that actions
like “open another window” works correctly.

Note that the user can override the app-id, either by setting app-id
in foot.ini, or with the -a,--app-id command line option.

Closes #1355
This commit is contained in:
jdevdevdev 2023-05-02 01:53:01 +10:00 committed by Daniel Eklöf
parent f4b8e4f4d6
commit 134b54dfe0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
10 changed files with 19 additions and 13 deletions

View file

@ -62,7 +62,6 @@
* Meson option `default-utempter-path` renamed to
`utmp-default-helper-path`.
### Deprecated
* `[main].utempter` option.
@ -75,8 +74,12 @@
* Crash when scrolling after resizing the window with non-zero
scrolling regions.
* `XTMODKEYS` state not being reset on a terminal reset.
* In Gnome dock foot always groups under "foot client". Change
instances of footclient and foot to appear as "foot client" and
"foot" respectively. ([#1355][1355])
[1317]: https://codeberg.org/dnkl/foot/issues/1317
[1355]: https://codeberg.org/dnkl/foot/issues/1355
### Security