Skip to content
Snippets Groups Projects
Commit a4771de5 authored by Hiltjo Posthuma's avatar Hiltjo Posthuma
Browse files

Revert "manage: For isfloating/oldstate check/set, ensure trans client actually exists"

This reverts commit bece862a.

It caused a regression, for example:
https://lists.suckless.org/hackers/2203/18220.html
parent d93ff488
No related branches found
No related tags found
No related merge requests found
...@@ -1065,7 +1065,7 @@ manage(Window w, XWindowAttributes *wa) ...@@ -1065,7 +1065,7 @@ manage(Window w, XWindowAttributes *wa)
XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
grabbuttons(c, 0); grabbuttons(c, 0);
if (!c->isfloating) if (!c->isfloating)
c->isfloating = c->oldstate = t || c->isfixed; c->isfloating = c->oldstate = trans != None || c->isfixed;
if (c->isfloating) if (c->isfloating)
XRaiseWindow(dpy, c->win); XRaiseWindow(dpy, c->win);
attach(c); attach(c);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment