From ce117df401900c2482c79d20477b6104a1b6b0f1 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 31 Mar 2008 15:50:29 +0200 Subject: [PATCH] [awesome-menu] Map when finished to draw Signed-off-by: Julien Danjou --- awesome-menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awesome-menu.c b/awesome-menu.c index fd3b39eb0..62ea44fc8 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);