[hackers] [dwm] rm transient floating windows || Daniel Cousens

From: <git_AT_suckless.org>
Date: Wed, 11 Oct 2017 09:19:32 +0200 (CEST)

commit 26f4a1c4f1381e7e3c5f00440a14061875b9beed
Author: Daniel Cousens <github_AT_dcousens.com>
AuthorDate: Wed Oct 11 08:07:23 2017 +1100
Commit: Daniel Cousens <github_AT_dcousens.com>
CommitDate: Wed Oct 11 08:07:23 2017 +1100

    rm transient floating windows

diff --git a/dwm.c b/dwm.c
index e30e37d..78842f5 100644
--- a/dwm.c
+++ b/dwm.c
_AT_@ -1036,7 +1036,7 @@ manage(Window w, XWindowAttributes *wa)
         XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
         grabbuttons(c, 0);
         if (!c->isfloating)
- c->isfloating = trans != None || c->isfixed;
+ c->isfloating = c->isfixed;
         if (c->isfloating)
                 XRaiseWindow(dpy, c->win);
         if (c->isfloating && c->x == 0 && c->y == (c->mon->showbar ? bh : 0)) {
_AT_@ -1991,8 +1991,6 @@ updatewindowtype(Client *c)
 
         if (state == netatom[NetWMFullscreen])
                 setfullscreen(c, 1);
- if (wtype == netatom[NetWMWindowTypeDialog])
- c->isfloating = 1;
 }
 
 void
Received on Wed Oct 11 2017 - 09:19:32 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 11 2017 - 09:25:10 CEST