Re: Implemented _NET_MOVERESIZE_WINDOW
Paul Schutte <[email protected]> Mon, 25 Aug 2025 10:23:40 +0200
| Newsgroups | gmane.comp.window-managers.ctwm |
|---|---|
| Message-ID | <CAKHv7piEypCR6y5xJ0MSkY3LXTXyP9EQc0wWzfm+f0WnBmd2ZA@mail.gmail.com> |
--00000000000084fd2a063d2c46b5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi The lack of any other strategy. The only way to use HandleConfigureRequest is to use the global Event, it does not take parameters. The other option would be to basically duplicate HandleConfigureRequest just so you can pass it an Event structure. Regards Paul On Mon, Aug 25, 2025 at 2:04=E2=80=AFAM Matthew D. Fuller <fullermd@over-yo= nder.net> wrote: > On Wed, Aug 13, 2025 at 07:09:21PM +0200 I heard the voice of > Paul Schutte, and lo! it spake thus: > > > > I=E2=80=99ve added support for the EWMH _NET_MOVERESIZE_WINDOW message = to > > ctwm. > > From a quick once-over, it looks like it's doing its thing by > overwriting the global Event to fake up a ConfigureRequest, then > calling that handler as if it were the event loop. That... feels > gross. What led to that strategy? > > > -- > Matthew Fuller (MF4839) | [email protected] > Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ > On the Internet, nobody can hear you scream. > --00000000000084fd2a063d2c46b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi</div><div><br></div><div>The lack of any other str= ategy. The only way to use HandleConfigureRequest is to use the global Even= t, it does not take parameters.</div><div>The other option would be to basi= cally duplicate HandleConfigureRequest just so you can pass it an Event str= ucture.</div><div><br></div><div>Regards</div><div>Paul</div></div><br><div= class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmai= l_attr">On Mon, Aug 25, 2025 at 2:04=E2=80=AFAM Matthew D. Fuller <<a hr= ef=3D"mailto:[email protected]">[email protected]</a>> wro= te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Aug = 13, 2025 at 07:09:21PM +0200 I heard the voice of<br> Paul Schutte, and lo! it spake thus:<br> > <br> > I=E2=80=99ve added support for the EWMH _NET_MOVERESIZE_WINDOW message= to<br> > ctwm.<br> <br> From a quick once-over, it looks like it's doing its thing by<br> overwriting the global Event to fake up a ConfigureRequest, then<br> calling that handler as if it were the event loop.=C2=A0 That...=C2=A0 =C2= =A0feels<br> gross.=C2=A0 What led to that strategy?<br> <br> <br> -- <br> Matthew Fuller=C2=A0 =C2=A0 =C2=A0(MF4839)=C2=A0 =C2=A0|=C2=A0 <a href=3D"m= ailto:[email protected]" target=3D"_blank">[email protected]<= /a><br> Systems/Network Administrator |=C2=A0 <a href=3D"http://www.over-yonder.net= /~fullermd/" rel=3D"noreferrer" target=3D"_blank">http://www.over-yonder.ne= t/~fullermd/</a><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0On the Internet, nobody can hear y= ou scream.<br> </blockquote></div> --00000000000084fd2a063d2c46b5--