RVP <r...@sdf.org> writes:
> On Sat, 23 Nov 2024, Van Ly wrote: > >> This is the before and after image on a ctwm restart. >> >> => http://sdf.org/~van.ly/img/ctwm-restart-0-before.webp . >> => http://sdf.org/~van.ly/img/ctwm-restart-1-after.webp . >> >> Even if `emacs -Q' is started without customization and fullscreened with >> f11, >> ctwm restart will expose the desktop background at the bottom edge. >> > > Ah, I see what's wrong now... If you run xprop(1) on a, let's say, > full-screen'd > xterm window, it will show something like: > > _NET_WM_STATE(ATOM) = ... _NET_WM_STATE_FULLSCREEN ... > > indicating that the the full-screen EWMH property's set; but, after a restart > this is lost. Doesn't look like ctwm handles these EWMH properties that're > already set on a window when it starts. This isn't a NetBSD bug, more like > a ctwm feature request... Martin Rudalics has a good grasp on probing Emacs and X. Another ctwm feature request would be for xterm to remember original size and full/maximized window size toggle that persists across ctwm restart. The ctwm mailing list archive was not available when I looked so I didn't ask upstream over there. ctwm restart is probably a rare event after fixed customization so ctwm-dev attention would be better spent on other priorities. -- vl