[awesome-menu] Map when finished to draw

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-31 15:50:29 +02:00
parent 99c9e00d99
commit ce117df401
1 changed files with 2 additions and 1 deletions

View File

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