Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
Revert "manage: For isfloating/oldstate check/set, ensure trans clien…
Browse files Browse the repository at this point in the history
…t actually exists"

This reverts commit bece862.

It caused a regression, for example:
https://lists.suckless.org/hackers/2203/18220.html
  • Loading branch information
hiltjo committed Apr 26, 2022
1 parent d93ff48 commit a4771de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ manage(Window w, XWindowAttributes *wa)
XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
grabbuttons(c, 0);
if (!c->isfloating)
c->isfloating = c->oldstate = t || c->isfixed;
c->isfloating = c->oldstate = trans != None || c->isfixed;
if (c->isfloating)
XRaiseWindow(dpy, c->win);
attach(c);
Expand Down

0 comments on commit a4771de

Please sign in to comment.