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:
Uli Schlachter 2012-04-11 20:17:52 +02:00
parent 00059d2d73
commit f7aa4b5969
1 changed files with 2 additions and 3 deletions

View File

@ -420,11 +420,10 @@ main(int argc, char **argv)
globalconf.screen = xcb_aux_get_screen(globalconf.connection, globalconf.default_screen);
globalconf.default_visual = a_default_visual(globalconf.screen);
/* FIXME The following two assignments were swapped on purpose */
if(!no_argb)
globalconf.visual = globalconf.default_visual;
if(!globalconf.visual)
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_cmap = globalconf.screen->default_colormap;
if(globalconf.default_depth != globalconf.screen->root_depth)