• Zhiyi Zhang's avatar
    winex11.drv: Always add MWM_FUNC_CLOSE to enabled windows. · 211da181
    Zhiyi Zhang authored
    Some window managers require MWM_FUNC_CLOSE to be present for a window to be allowed to close. For
    example, on KWin, a window of style WS_POPUP | WS_VISIBLE has a close button drawn on top of its
    taskbar preview. But when you press it, the window manager refuses to close it. On Mutter, windows
    without MWN_FUNC_CLOSE doesn't have a close button on the window preview. On Windows 10, enabled
    windows without WS_SYSMENU always has a close button on their taskbar window preview and can always
    be closed with the close button. On Windows 7, enabled windows without WS_SYSMENU has no close
    button on the window preview but still can be closed with the right-click menu on the taskbar.
    This patch changes the behavior to match that of Windows 10.
    
    Fix WeChat image preview window cannot be closed from KDE panels.
    Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    211da181
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...