• Francois Gouget's avatar
    winex11: Set res_class to the program name for Crostini. · 6eb05dab
    Francois Gouget authored
    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: 's avatarFrancois Gouget <fgouget@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    6eb05dab
Name
Last commit
Last update
..
Makefile.in Loading commit data...
bitblt.c Loading commit data...
brush.c Loading commit data...
clipboard.c Loading commit data...
desktop.c Loading commit data...
display.c Loading commit data...
event.c Loading commit data...
graphics.c Loading commit data...
ime.c Loading commit data...
init.c Loading commit data...
keyboard.c Loading commit data...
mouse.c Loading commit data...
mwm.h Loading commit data...
opengl.c Loading commit data...
palette.c Loading commit data...
pen.c Loading commit data...
settings.c Loading commit data...
systray.c Loading commit data...
version.rc Loading commit data...
vulkan.c Loading commit data...
window.c Loading commit data...
winex11.drv.spec Loading commit data...
wintab.c Loading commit data...
x11drv.h Loading commit data...
x11drv_main.c Loading commit data...
xcomposite.h Loading commit data...
xdnd.c Loading commit data...
xim.c Loading commit data...
xinerama.c Loading commit data...
xrandr.c Loading commit data...
xrender.c Loading commit data...
xvidmode.c Loading commit data...