Use ARGB visuals by default again (FS#837)
My intel driver no longer is broken with ARGB visuals, so let's enable this by
default again. Let's see how long it takes for someone else to hit a broken
driver and complain. :-)
This reverts commit c7da695e10
.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
00059d2d73
commit
f7aa4b5969
|
@ -420,11 +420,10 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
globalconf.screen = xcb_aux_get_screen(globalconf.connection, globalconf.default_screen);
|
globalconf.screen = xcb_aux_get_screen(globalconf.connection, globalconf.default_screen);
|
||||||
globalconf.default_visual = a_default_visual(globalconf.screen);
|
globalconf.default_visual = a_default_visual(globalconf.screen);
|
||||||
/* FIXME The following two assignments were swapped on purpose */
|
|
||||||
if(!no_argb)
|
if(!no_argb)
|
||||||
globalconf.visual = globalconf.default_visual;
|
|
||||||
if(!globalconf.visual)
|
|
||||||
globalconf.visual = a_argb_visual(globalconf.screen);
|
globalconf.visual = a_argb_visual(globalconf.screen);
|
||||||
|
if(!globalconf.visual)
|
||||||
|
globalconf.visual = globalconf.default_visual;
|
||||||
globalconf.default_depth = a_visual_depth(globalconf.screen, globalconf.visual->visual_id);
|
globalconf.default_depth = a_visual_depth(globalconf.screen, globalconf.visual->visual_id);
|
||||||
globalconf.default_cmap = globalconf.screen->default_colormap;
|
globalconf.default_cmap = globalconf.screen->default_colormap;
|
||||||
if(globalconf.default_depth != globalconf.screen->root_depth)
|
if(globalconf.default_depth != globalconf.screen->root_depth)
|
||||||
|
|
Loading…
Reference in New Issue