GNU bug report logs -
#16736
Compiling a Lisp file causes display to flash off and on
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Thu, 13 Feb 2014 02:26:01 UTC
Severity: important
Found in version 24.3.50
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Mon, 17 Feb 2014 18:58:42 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: rgm <at> gnu.org, 16736 <at> debbugs.gnu.org
>
> > OK, so it sounds like we need to make change_frame_size_1 consistent
> > with widget.c code.
>
> IMO the widget.c code is inherently absurd. EmacsFrameResize processes
> a resize request by calculating a text size from ew->core.height. Then
> it sets
>
> FRAME_PIXEL_HEIGHT (f) = ew->core.height + x->menubar_height;
>
> and update_from_various_frame_slots inversely processes
>
> ew->core.height = FRAME_PIXEL_HEIGHT (f) - x->menubar_height;
>
> where update_from_various_frame_slots is called only by
> EmacsFrameInitialize. Does anyone understand what this is good for?
The latter part is not important, I think, because ew->core is not
used anywhere.
So the only important part here is setting FRAME_PIXEL_HEIGHT and
other fields of the frame struct.
widget.c is compiled only for X toolkits, right? So I think making
update_various_frame_slots consistent with change_frame_size_1 when
USE_X_TOOLKIT will fix the problem.
This bug report was last modified 11 years and 98 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.