fix problem with mplayer
This commit is contained in:
parent
89c2fc9f44
commit
0779473a30
4
client.c
4
client.c
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue