]> git.eshelyaron.com Git - emacs.git/commit
Attempt to fix hangs on MS-Windows due to C-g
authorEli Zaretskii <eliz@gnu.org>
Mon, 14 Jan 2019 15:36:04 +0000 (17:36 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 14 Jan 2019 15:36:04 +0000 (17:36 +0200)
commit00ba2267ede311da0cd53261780fb0b781ca42dd
tree382b50db5ac01ecd7d3542b0e3e952c4b25f122b
parentb26d6373c48ca26a7cfc81fd03ec8d7f50c13962
Attempt to fix hangs on MS-Windows due to C-g

* src/w32uniscribe.c (uniscribe_otf_capability): Set
inhibit-quit around calls to otf_features, because the latter
cons Lisp data structures while we are in a critical section.
* src/xdisp.c (ALLOCATE_HDC) [HAVE_NTGUI]: Set inhibit-quit.
(RELEASE_HDC) [HAVE_NTGUI]: Restore inhibit-quit.
(OPTIONAL_HDC, DECLARE_HDC): Remove macros, their job is now
done by ALLOCATE_HDC and by a single #ifdef.
(draw_glyphs): Adapt to the above changes in macros.
(Bug#34059)
src/w32uniscribe.c
src/xdisp.c