From f7aa4b59696e2d2e3f93c3f71fdbf1cf98e8b212 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 11 Apr 2012 20:17:52 +0200 Subject: [PATCH] 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 c7da695e1002c25fd234d6a2af946e6dd8655b7f. Signed-off-by: Uli Schlachter --- awesome.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/awesome.c b/awesome.c index d0e1f2352..69eda8068 100644 --- a/awesome.c +++ b/awesome.c @@ -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)