From 0779473a30778ad61791741ccc517cdd69cc4d3e Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 14 Nov 2007 10:34:02 +0100 Subject: [PATCH] fix problem with mplayer --- client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index 3e460f96c..a063ea801 100644 --- a/client.c +++ b/client.c @@ -278,7 +278,7 @@ client_manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf) c->display = awesomeconf->display; c->phys_screen = awesomeconf->phys_screen; - c->tags = p_new(Bool, awesomeconf->ntags); + tag_client_with_current_selected(c, awesomeconf); /* update window title */ updatetitle(c); @@ -372,6 +372,8 @@ client_manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf) False, True, current_acf->buttons.root, current_acf->modkey, current_acf->numlockmask); + move_client_to_screen(c, current_acf, True); + /* check for transient and set tags like its parent */ if((rettrans = XGetTransientForHint(c->display, w, &trans) == Success) && (t = get_client_bywin(*current_acf->clients, trans)))