From adf437c0e38d1c84c38fdfec9f20b269091ad79d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 14 Nov 2007 10:35:18 +0100 Subject: [PATCH] use tag_client_with_current_selected() instead of our own loop and set -O2 or mplayer fails --- client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client.c b/client.c index a063ea80..bd09b139 100644 --- a/client.c +++ b/client.c @@ -312,8 +312,7 @@ client_manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf) c->tags[i] = False; if(!matched) - for(i = 0; i < current_acf->ntags; i++) - c->tags[i] = current_acf->tags[i].selected; + tag_client_with_current_selected(c, current_acf); break; } if(!has_rule)