Fix for deadlock when using private colormap.

This commit is contained in:
Finlo Boyde 2004-02-20 01:04:51 +00:00 committed by Alexandre Julliard
parent efc67253fd
commit bb6fde284e
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}