wine-wine/dlls/winex11.drv
Francois Gouget 6eb05dab7c winex11: Set res_class to the program name for Crostini.
GNOME implements the startup notification protocol correctly which
means it checks StartupWMClass against both WM name (res_name) and
WM class (res_class). Thus it does not need this patch.
The situation is different for desktop environments that thunk to
Wayland such as Crostini. Wayland does not have separate concepts
that WM name and WM class can be mapped to. So Crostini decided to
only use res_class resulting in it trying to match 'Wine' to the
program name stored in StartupWMClass.
While Crostini's choice is unfortunate for Wine, most other
applications (e.g. all GTK applications) already store the same value
in both WM name and class. So in the interest of compatiblity it makes
sense for Wine to do the same.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:51:10 +02:00
..
Makefile.in
bitblt.c
brush.c
clipboard.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00
desktop.c
display.c
event.c
graphics.c
ime.c
init.c
keyboard.c
mouse.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00
mwm.h
opengl.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00
palette.c
pen.c
settings.c
systray.c
version.rc
vulkan.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00
window.c winex11: Set res_class to the program name for Crostini. 2020-04-17 11:51:10 +02:00
winex11.drv.spec
wintab.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00
x11drv.h
x11drv_main.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00
xcomposite.h
xdnd.c
xim.c
xinerama.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00
xrandr.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00
xrender.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00
xvidmode.c winex11: Use standard dlopen() instead of the libwine wrappers. 2020-04-07 14:26:20 +02:00