From 6daf058c5d824b3518eec220ac88ed60ff273266 Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Sun, 13 Oct 2013 21:07:40 +0200 Subject: [PATCH] Fix initial tagging of windows --- window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/window.c b/window.c index b0693be..cd8c064 100644 --- a/window.c +++ b/window.c @@ -92,7 +92,8 @@ void manage_window(monitor_t *m, desktop_t *d, xcb_window_t win) set_fullscreen(n, fullscreen); c->transient = transient; - tag_node(m, d, n, d, n->client->tags_field); + if (!is_visible(d, n)) + set_visibility(m, d, n, false); xcb_rectangle_t *frect = &n->client->floating_rectangle; if (frect->x == 0 && frect->y == 0) -- 2.44.0