Re: [dev] [dwm] possible regression in 8806b6e

From: Chris Down <chris_AT_chrisdown.name>
Date: Mon, 25 Apr 2022 14:47:05 +0100

Hi Ethan,

I'm still unable to reproduce the issue, but I am curious, does this fix
things? :-)

diff --git a/dwm.c b/dwm.c
index 0fc328a..f2a10c0 100644
--- a/dwm.c
+++ b/dwm.c
_AT_@ -1061,6 +1061,7 @@ manage(Window w, XWindowAttributes *wa)
          XSetWindowBorder(dpy, w, scheme[SchemeNorm][ColBorder].pixel);
          configure(c); /* propagates border_width, if size doesn't change */
          updatewindowtype(c);
+ updatesizehints(c);
          updatewmhints(c);
          XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
          grabbuttons(c, 0);

My guess is that the pinentry that you're using relies on early c->isfixed
logic, whereas the one Sebastian and I are using relies on WM_TRANSIENT_FOR, so
the issue I reported and the one you reported have different causes, despite
having different symptoms.

If this fixes it, please let me know and I'll send it as a proper patch.

Thanks,

Chris
Received on Mon Apr 25 2022 - 15:47:05 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 25 2022 - 15:48:08 CEST