[Bug 50095] New: Allow user specified WM_CLASS value
WineHQ Bugzilla
wine-bugs at winehq.org
Wed Nov 4 11:46:35 CST 2020
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 at winehq.org
Reporter: arealityfarbetween at 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
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list