diff --git a/awesome-menu.c b/awesome-menu.c index fd3b39eb..62ea44fc 100644 --- a/awesome-menu.c +++ b/awesome-menu.c @@ -729,7 +729,6 @@ main(int argc, char **argv) geometry.x, geometry.y, geometry.width, geometry.height, 0); XStoreName(globalconf.display, globalconf.sw->window, PROGNAME); - XMapRaised(globalconf.display, globalconf.sw->window); /* Create the drawing context */ globalconf.ctx = draw_context_new(globalconf.display, DefaultScreen(globalconf.display), @@ -760,6 +759,8 @@ main(int argc, char **argv) redraw(); + XMapRaised(globalconf.display, globalconf.sw->window); + while(status == RUN) { XNextEvent(globalconf.display, &ev);