Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
16130a58
Commit
16130a58
authored
Sep 10, 2012
by
Jan Djärv
Browse files
* nsterm.m (ns_update_begin): Set clip path to whole view by using
NSBezierPath. Fixes: debbugs:12131
parent
04e082b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/nsterm.m
src/nsterm.m
+9
-0
No files found.
src/ChangeLog
View file @
16130a58
2012-09-10 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (ns_update_begin): Set clip path to whole view by using
NSBezierPath (Bug#12131).
2012-09-10 Chong Yidong <cyd@gnu.org>
* fns.c (Fdelq, Fdelete): Doc fix.
...
...
src/nsterm.m
View file @
16130a58
...
...
@@ -627,6 +627,8 @@ Free a pool and temporary objects it refers to (callable from C)
-------------------------------------------------------------------------- */
{
NSView *view = FRAME_NS_VIEW (f);
NSRect r = [view frame];
NSBezierPath *bp = [NSBezierPath bezierPath];
NSTRACE (ns_update_begin);
ns_update_auto_hide_menu_bar ();
...
...
@@ -634,6 +636,13 @@ Free a pool and temporary objects it refers to (callable from C)
ns_updating_frame = f;
[view lockFocus];
/* drawRect may have been called for say the minibuffer, and then clip path
is for the minibuffer. But the display engine may draw more because
we have set the frame as garbaged. So reset clip path to the whole
view. */
[bp appendBezierPathWithRect: r];
[bp setClip];
#ifdef NS_IMPL_GNUSTEP
uRect = NSMakeRect (0, 0, 0, 0);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment