GNU bug report logs -
#74496
30.0.91; fullscreen frame set with F11 is shifted when ctwm restarts
Previous Next
Reported by: Van Ly <van.ly <at> SDF.ORG>
Date: Sat, 23 Nov 2024 18:29:02 UTC
Severity: normal
Found in version 30.0.91
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Opening the aperture to "F11 fullscreen" for emacs and firefox, on ctwm
> restart, the F11 fullscreen state is persisted. Emacs needs the init
> file to set t for frame-resize-pixelwise. Loss of the prior framesize
> to the F11 fullscreen after ctwm restart is an acceptable glitch for in
> my use case as I don't leave F11 fullscreen in the virtual screen
> workspace.
If you ever do want to leave it you can use a workaround like this:
(defun f11 ()
(interactive)
(let ((pos (frame-position)))
(if (and (not (frame-parameter nil 'fullscreen))
(< (car pos) 0) (< (cdr pos) 0))
(progn
(set-frame-parameter nil 'fullscreen nil)
(modify-frame-parameters
nil '((left . 20) (top . 20) (width . 80) (height . 24))))
(toggle-frame-fullscreen))))
(global-set-key [f11] 'f11)
> Do other window managers remember their window frame size history prior
> to their current size at time of wm restart after restart? I could use
> the example to show the CTWM maintainers.
The CTWM maintainers will probably tell you that other window managers
do not allow restarts that keep windows alive.
martin
This bug report was last modified 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.