event: mark arrange on map

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-11 12:30:18 +02:00
parent 53d60670a8
commit 24fbbd9939
1 changed files with 1 additions and 0 deletions

View File

@ -461,6 +461,7 @@ event_handle_maprequest(void *data __attribute__ ((unused)),
if(client_maybevisible(c, c->screen))
{
c->ishidden = false;
globalconf.screens[c->screen].need_arrange = true;
xcb_map_window(globalconf.connection, ev->window);
/* it will be raised, so just update ourself */
client_raise(c);