https://bugs.winehq.org/show_bug.cgi?id=32699
--- Comment #8 from Marco Trevisan (Treviño) mail@3v1n0.net --- (In reply to Michael Müller from comment #6)
Hi,
I wrote a tiny patch which changes the window class inside of winex11 from "Wine" to the name of the program executable. This solves the problem and does not require any changes to desktop files (and it also works if you start the program from a terminal). Most window managers should now only group together the windows of the same executable and not all wine applications. The patch is available at:
Well, while this fixes the grouping problem, this won't allow window managers to associate the actual .desktop file to the window, and thus you'd just use the embedded icon or window name, instead of the applications data defined in the .desktop file.