GNU bug report logs -
#26643
26.0.50; not able to resize frame on OS X
Previous Next
Reported by: "Charles A. Roelli" <charles <at> aurox.ch>
Date: Mon, 24 Apr 2017 19:13:02 UTC
Severity: normal
Tags: fixed
Found in version 26.0.50
Fixed in version 26.1
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 26643 <at> debbugs.gnu.org (full text, mbox):
On 24/04/2017 21:11, Charles A. Roelli wrote:
> With a recent build of Emacs, if you try to resize a frame in OS X 10.6
> by dragging the bottom-right corner of the frame, the frame does not
> change size, and stderr says:
>
> bash-3.2$ nextstep/Emacs.app/Contents/MacOS/Emacs -Q
> 2017-04-24 21:02:46.195 Emacs[45285:903] -[EmacsWindow titleVisibility]:
> unrecognized selector sent to instance 0x101aa1990
This seems to fix it:
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -6646,8 +6646,7 @@ - (NSSize)windowWillResize: (NSWindow *)sender
toSize: (NSSize)frameSize
old_title = 0;
}
}
- else if (fs_state == FULLSCREEN_NONE && ! maximizing_resize
- && [[self window] titleVisibility])
+ else if (fs_state == FULLSCREEN_NONE && ! maximizing_resize)
{
char *size_title;
NSWindow *window = [self window];
With the titleVisibility call, the compiler gives this warning:
nsterm.m: In function ‘-[EmacsView windowWillResize:toSize:]’:
nsterm.m:6650: warning: ‘NSWindow’ may not respond to ‘-titleVisibility’
nsterm.m:6650: warning: (Messages without a matching method signature
nsterm.m:6650: warning: will be assumed to return ‘id’ and accept
nsterm.m:6650: warning: ‘...’ as arguments.)
This bug report was last modified 8 years and 30 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.