retag window on configurerequest

This commit is contained in:
Julien Danjou 2007-11-15 15:43:58 +01:00
parent e50041ab10
commit f3102efc39
1 changed files with 3 additions and 2 deletions

View File

@ -163,8 +163,9 @@ handle_event_configurerequest(XEvent * e, awesome_config *awesomeconf)
drawstatusbar(&awesomeconf[old_screen]);
drawstatusbar(&awesomeconf[c->screen]);
}
if(isvisible(c, c->screen, awesomeconf[c->screen].tags, awesomeconf[c->screen].ntags))
XMoveResizeWindow(e->xany.display, c->win, c->x, c->y, c->w, c->h);
tag_client_with_current_selected(c, &awesomeconf[c->screen]);
XMoveResizeWindow(e->xany.display, c->win, c->rx, c->ry, c->rw, c->rh);
arrange(&awesomeconf[c->screen]);
}
else
window_configure(c->display, c->win, c->x, c->y, c->w, c->h, c->border);