projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6decd
)
Fix crash when creating new NS frame (bug#43812)
author
Alan Third
<alan@idiocy.org>
Mon, 5 Oct 2020 19:38:45 +0000
(20:38 +0100)
committer
Alan Third
<alan@idiocy.org>
Tue, 6 Oct 2020 20:05:18 +0000
(21:05 +0100)
* src/nsterm.m (ns_clear_under_internal_border): Check the frame is
live.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index fdcd677d144c149ec5414da686518581238e9392..a702a051d00c31be39489f3b447dfa258f2f6c9a 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-3032,7
+3032,7
@@
ns_clear_under_internal_border (struct frame *f)
{
NSTRACE ("ns_clear_under_internal_border");
- if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0)
+ if (FRAME_
LIVE_P (f) && FRAME_
INTERNAL_BORDER_WIDTH (f) > 0)
{
int border_width = FRAME_INTERNAL_BORDER_WIDTH (f);
NSView *view = FRAME_NS_VIEW (f);