]> git.mdlowis.com Git - proto/labwc.git/commit
icon-loader: also match desktop entries StartupWMClass
authorJohn Lindgren <john@jlindgren.net>
Fri, 4 Oct 2024 18:05:31 +0000 (14:05 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 4 Oct 2024 21:25:37 +0000 (22:25 +0100)
commitb4bc6ffceb4e609dc560053c86de30889ccd363a
tree95660e0b181125643042ecd232c004cd632349f5
parenteb8db30a8604a59f4e32cbc0266b81b078092320
icon-loader: also match desktop entries StartupWMClass

GIMP for example sets its WM_CLASS to "gimp-2.10", which does not match
the "gimp.desktop" filename, but matches the StartupWMClass key listed
in it.

Thanks to @vyivel for the suggestion.
src/icon-loader.c