[Bug 57622] New: WM_CLASS reports default value when starting a program with 'explorer /desktop'
https://bugs.winehq.org/show_bug.cgi?id=57622 Bug ID: 57622 Summary: WM_CLASS reports default value when starting a program with 'explorer /desktop' Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: o.gott.wir.werden.alle.sterben(a)web.de Distribution: --- When launching a program with "wine explorer /desktop=app program.exe" the WM_CLASS is set to 'explorer.exe' instead of 'program.exe' As a result, I cannot assign the program a specific icon for example in GNOME because each different 'progamXYZ.exe' reports back its WM_CLASS as 'explorer.exe' and it's not possible to distinguish between those. When starting the program directly with "wine program.exe" the WM_CLASS is set to "program.exe", so setting a proper icon in a .desktop file is possible. But some apps need a virtual desktop, so "wine explorer /desktop=app program.exe" should behave the same and report a WM_CLASS "program.exe". As an alternative, bug #50095 gives a different approach: allow WM_CLASS to be set by an environment variable. -- 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.
participants (1)
-
WineHQ Bugzilla