Fixes: debbugs:19660

* nsterm.m (drawRect:): Add block/unblock_input.
This commit is contained in:
Jan D 2015-01-24 10:57:21 +01:00
parent 83b3c312d7
commit b4f40757ef
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2015-01-24 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (drawRect:): Add block/unblock_input (Bug#19660).
2015-01-21 Paul Eggert <eggert@cs.ucla.edu>
Fix coding.c subscript error

View file

@ -6750,7 +6750,9 @@ - (void)drawRect: (NSRect)rect
return;
ns_clear_frame_area (emacsframe, x, y, width, height);
block_input ();
expose_frame (emacsframe, x, y, width, height);
unblock_input ();
/*
drawRect: may be called (at least in OS X 10.5) for invisible