fix problem with mplayer

This commit is contained in:
Julien Danjou 2007-11-14 10:34:02 +01:00
parent 89c2fc9f44
commit 0779473a30
1 changed files with 3 additions and 1 deletions

View File

@ -278,7 +278,7 @@ client_manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf)
c->display = awesomeconf->display; c->display = awesomeconf->display;
c->phys_screen = awesomeconf->phys_screen; c->phys_screen = awesomeconf->phys_screen;
c->tags = p_new(Bool, awesomeconf->ntags); tag_client_with_current_selected(c, awesomeconf);
/* update window title */ /* update window title */
updatetitle(c); updatetitle(c);
@ -372,6 +372,8 @@ client_manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf)
False, True, current_acf->buttons.root, False, True, current_acf->buttons.root,
current_acf->modkey, current_acf->numlockmask); current_acf->modkey, current_acf->numlockmask);
move_client_to_screen(c, current_acf, True);
/* check for transient and set tags like its parent */ /* check for transient and set tags like its parent */
if((rettrans = XGetTransientForHint(c->display, w, &trans) == Success) if((rettrans = XGetTransientForHint(c->display, w, &trans) == Success)
&& (t = get_client_bywin(*current_acf->clients, trans))) && (t = get_client_bywin(*current_acf->clients, trans)))