From e11219117b770f36b382f3ace2f72017442a2121 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Sat, 21 Mar 2020 22:46:33 -0400 Subject: [PATCH] make sure windows open by default are opened as floating and stay that way --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index c2bbcdc..b586356 100644 --- a/client.c +++ b/client.c @@ -13,7 +13,8 @@ void client_initall(void) { if (XGetWindowAttributes(X.disp, wins[i], &attr) && !attr.override_redirect) { - (void)client_add(wins[i], &attr); + Client* c = client_add(wins[i], &attr); + c->flags |= F_DIALOG; } } xfree(wins); -- 2.52.0