Skip to content

Commit 00b4ad2

Browse files
rbernonivyl
authored andcommitted
HACK: winex11: Disable host window decorations with Mutter.
Mutter is utterly broken when changing decorations. It's better not to have decorations at all and use Windows frames for the very few cases they would still be visible. CW-Bug-Id: #24939
1 parent 34a6ab6 commit 00b4ad2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dlls/winex11.drv/window.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,8 @@ static unsigned long get_mwm_decorations_for_style( DWORD style, DWORD ex_style
472472
{
473473
unsigned long ret = 0;
474474

475+
if (X11DRV_HasWindowManager( "Mutter" )) return 0;
476+
475477
if (ex_style & WS_EX_TOOLWINDOW) return 0;
476478
if (ex_style & WS_EX_LAYERED) return 0;
477479

0 commit comments

Comments
 (0)