Commit bb6fde28 authored by Finlo Boyde's avatar Finlo Boyde Committed by Alexandre Julliard

Fix for deadlock when using private colormap.

parent efc67253
......@@ -170,11 +170,11 @@ int X11DRV_PALETTE_Init(void)
win_attr.colormap = X11DRV_PALETTE_PaletteXColormap;
XChangeWindowAttributes( gdi_display, root_window, CWColormap, &win_attr );
}
break;
}
} else {
X11DRV_PALETTE_PaletteXColormap = XCreateColormap(gdi_display, root_window,
visual, AllocNone);
}
X11DRV_PALETTE_PaletteXColormap = XCreateColormap(gdi_display, root_window,
visual, AllocNone);
wine_tsx11_unlock();
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment