compute c->screen correctly

This commit is contained in:
Julien Danjou 2007-10-26 18:42:05 +02:00
parent ddf64e9db2
commit bd0dc10842
1 changed files with 1 additions and 0 deletions

View File

@ -422,6 +422,7 @@ manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf)
updatetitle(c); updatetitle(c);
/* move client to screen: this will set screen and create tags array */ /* move client to screen: this will set screen and create tags array */
c->screen = get_screen_bycoord(c->display, c->x, c->y);
move_client_to_screen(c, awesomeconf, False); move_client_to_screen(c, awesomeconf, False);
/* check for transient and set tags like its parent */ /* check for transient and set tags like its parent */