From: Michael D. Lowis Date: Sun, 22 Mar 2020 02:46:33 +0000 (-0400) Subject: make sure windows open by default are opened as floating and stay that way X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=e11219117b770f36b382f3ace2f72017442a2121;p=proto%2Fanvil.git make sure windows open by default are opened as floating and stay that way --- 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);