GNU bug report logs -
#48162
28.0.50; Resizing using set-frame-width doesn't expand mode-line
Previous Next
Reported by: Pankaj Jangid <pankaj <at> codeisgreat.org>
Date: Sun, 2 May 2021 15:43:02 UTC
Severity: normal
Found in version 28.0.50
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 48162 <at> debbugs.gnu.org (full text, mbox):
> This is occurring on MacOS build. Branch: master.
> Steps:
> 1. ./src/emacs -Q
> 2. M-x set-frame-width RET 160 RET
>
> Result: Frame size is increased but mode-line still has original width.
Could you please try the patch below.
Thanks, martin
diff --git a/src/nsterm.m b/src/nsterm.m
index 6e7ab1266b..b089146e64 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -7310,9 +7310,9 @@ - (void)viewDidResize:(NSNotification *)notification
/* Don't want to do anything when the view size hasn't changed. */
if ((oldh == newh && oldw == neww)
- || (emacsframe->new_size_p
- && newh == emacsframe->new_height
- && neww == emacsframe->new_width))
+ && (!emacsframe->new_size_p
+ || (newh == emacsframe->new_height
+ && neww == emacsframe->new_width)))
{
NSTRACE_MSG ("No change");
return;
This bug report was last modified 4 years and 76 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.