GNU bug report logs - #74496
30.0.91; fullscreen frame set with F11 is shifted when ctwm restarts

Previous Next

Package: emacs;

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


Message #194 received at 74496 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Van Ly <van.ly <at> SDF.ORG>
Cc: eliz <at> gnu.org, 74496 <at> debbugs.gnu.org
Subject: Re: bug#74496: 30.0.91; fullscreen frame set with F11 is shifted when
 ctwm restarts
Date: Sat, 14 Dec 2024 10:20:18 +0100
[Message part 1 (text/plain, inline)]
> A watch guard on the full height parameter would notice the effect ctwm
> restart has taken place and the value has changed but maybe emacs can't
> tell the difference between human or environment invoked change on the
> height parameter.  A heuristic could suggest to emacs ctwm restarted
> when the bottom edge is raised less than 10 pixels.

I attached a function you can add to 'window-size-change-functions'.  It
seems to work here but make sure to use it only with a Lucid build.

With a GTK build I was able to crash CTWM as

ctwm:  restarting:  ctwm
sh: 1: /usr/X11R7/libexec/ctwm_font_size: not found
sh: 1: /usr/X11R7/libexec/ctwm_app_menu: not found
/usr/bin/m4: syscmd subprocess failed
xterm: fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) or KillClient on X server ":0.0"
xterm: fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) or KillClient on X server ":0.0"
X connection to :0 broken (explicit kill or server shutdown).

> Why is it that F11 fullscreen maximizes the frame without gap at bottom?
> When frame-resize-pixelwise is nil, shouldn't the frame's line height
> effect leave a gap at bottom?

Apparently F11 is not affected by size hint increments.  The X11 manuals are
not clear about this.

martin
[ctwm-restart.el (text/x-emacs-lisp, attachment)]

This bug report was last modified 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.