Mercurial > hg > xemacs-beta
annotate nt/x11.patch @ 4968:4d35e52790f8
fix crash in glyph-cachels
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-02-03 Ben Wing <ben@xemacs.org>
* frame.c (Fmake_frame):
* glyphs.c:
* glyphs.c (NUM_PRECACHED_GLYPHS):
* glyphs.c (get_glyph_cachel_index):
* glyphs.c (FROB):
* glyphs.c (mark_glyph_cachels_as_not_updated):
* redisplay.c (regenerate_window):
* redisplay.c (redisplay_window):
When creating a frame, call reset_glyph_cachels on the minibuffer
window as well as the root window. Fixes a crash due to other
glyphs (e.g. the gutter glyph) getting in the glyph cachel before
the pre-cached glyphs that are supposed to have fixed indices
(continuation-glyph, truncation-glyph, etc.).
Add a bunch of asserts to make sure that the glyph cachels always
properly contain the pre-cached glyphs.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 03 Feb 2010 21:06:14 -0600 |
parents | 15872534500d |
children |
rev | line source |
---|---|
169 | 1 *** X11.def.old Thu Apr 10 07:29:27 1997 |
2 --- X11.def Wed Jul 02 22:20:16 1997 | |
3 *************** | |
4 *** 5,15 **** | |
5 VERSION 6.1 | |
6 EXPORTS | |
7 _Xdebug_p=_Xdebug CONSTANT | |
8 - _XCreateMutex_fn_p=_XCreateMutex_fn CONSTANT | |
9 - _XFreeMutex_fn_p=_XFreeMutex_fn CONSTANT | |
10 - _XLockMutex_fn_p=_XLockMutex_fn CONSTANT | |
11 - _XUnlockMutex_fn_p=_XUnlockMutex_fn CONSTANT | |
12 - _Xglobal_lock_p=_Xglobal_lock CONSTANT | |
13 XActivateScreenSaver | |
14 XAddConnectionWatch | |
15 XAddExtension | |
16 --- 5,10 ---- | |
17 *************** | |
18 *** 623,630 **** | |
19 _XUnregisterFilter | |
20 _XUnregisterInternalConnection | |
21 _XVIDtoVisual | |
22 - _Xthread_init | |
23 - _Xthread_waiter | |
24 XkbIgnoreExtension | |
25 XkbOpenDisplay | |
26 XkbQueryExtension | |
27 --- 618,623 ---- |