https://bugs.winehq.org/show_bug.cgi?id=50095
Bug ID: 50095 Summary: Allow user specified WM_CLASS value Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: arealityfarbetween@googlemail.com Distribution: ---
Created attachment 68570 --> https://bugs.winehq.org/attachment.cgi?id=68570 Allow user to set WM_CLASS via his environment
Hi,
The name of the executable is currently used as the WM_CLASS set by winex11.drv however this doesn't work reliably in cases where the executable name is the same, e.g. I have a few windows games on my system where the executable is simply named "game.exe", leading to one game being associated with another's icon in GNOME's running applications panel.
I can get around this problem by using a symlink but that approach isn't ideal - in the case I tried I also had to create a symlink for another directory located in the directory where the exe was located.
I've enclosed a patch that allows the user to specify WINEWMCLASS in his environment and have wine use that value as an alternative to the default behaviour.
Let me know what you think.
Thanks
https://bugs.winehq.org/show_bug.cgi?id=50095
Nicholas Little arealityfarbetween@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P5
https://bugs.winehq.org/show_bug.cgi?id=50095
Nicholas Little arealityfarbetween@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68570|0 |1 is obsolete| |
--- Comment #1 from Nicholas Little arealityfarbetween@googlemail.com --- Created attachment 68977 --> https://bugs.winehq.org/attachment.cgi?id=68977 Allow user to set WM_CLASS via his environment
https://bugs.winehq.org/show_bug.cgi?id=50095
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |fgouget@codeweavers.com