diff --git a/awesome.c b/awesome.c index fca0a7017..b25cb3ffc 100644 --- a/awesome.c +++ b/awesome.c @@ -417,10 +417,11 @@ main(int argc, char **argv) fatal("cannot open display"); globalconf.screen = xcb_aux_get_screen(globalconf.connection, globalconf.default_screen); + /* FIXME The following two assignments were swapped on purpose */ if(!no_argb) - globalconf.visual = a_argb_visual(globalconf.screen); - if(!globalconf.visual) globalconf.visual = a_default_visual(globalconf.screen); + if(!globalconf.visual) + globalconf.visual = a_argb_visual(globalconf.screen); 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)