From a9b555d3d091f8a371c81ac565f0e40f59ba8743 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 22 Oct 2008 09:33:30 +0000 Subject: [PATCH] * w32fns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. Copied from 2005-02-03 change to xfns.c by Kim F. Storm. --- src/ChangeLog | 20 ++++++++++++-------- src/w32fns.c | 3 ++- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index ad47d331663..c4d36b09126 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-10-22 Juanma Barranquero + + * w32fns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. + Copied from 2005-02-03 change to xfns.c by Kim F. Storm. + 2008-10-22 Kenichi Handa * syntax.c (scan_words): Call word_boundary_p instead of comparing @@ -21,7 +26,7 @@ (Fkill_buffer): Rename arg "buffer" to "buffer_or_name" and make it optional. (no_switch_window): Remove since the return value is not used. - (Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name". + (Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name". Consider window as dedicated when Fwindow_dedicated_p returns a non-nil value. * lisp.h: Remove prototype for no_switch_window. @@ -144,8 +149,7 @@ 2008-10-07 Chong Yidong - * gtkutil.c (xg_display_open): Reset default display if none - exists. + * gtkutil.c (xg_display_open): Reset default display if none exists. (xg_display_close): Allow Emacs to close all displays (bug#985). 2008-10-06 Andreas Schwab @@ -158,7 +162,7 @@ * emacs.c (Vbefore_init_time, Vafter_init_time): Moved from startup.el. - * lisp.h: (Vbefore_init_time, Vafter_init_time): Declare. + * lisp.h (Vbefore_init_time, Vafter_init_time): Declare. * gtkutil.c (x_wm_set_size_hint): Return immediately if called during initialization. @@ -204,16 +208,16 @@ (FRAME_NEW_CURSOR_COLOR): Remove. * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR. - (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core emacs + (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core Emacs enumeration (HOLLOW_BOX_CURSOR, etc.). * nsterm.m (ns_frame_rehighlight): Remove commented code. (draw_window_cursor): Simplify code. (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't - change cursor type. In latter, call rehighlight instead of doing + change cursor type. In latter, call rehighlight instead of doing updates manually. - (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): Use - core emacs cursor types. + (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): + Use core Emacs cursor types. * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor() under NS. diff --git a/src/w32fns.c b/src/w32fns.c index 3f9466c3d99..f98a53f95d4 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -4155,10 +4155,11 @@ unwind_create_frame (frame) x_free_frame_resources (f); +#if GLYPH_DEBUG /* Check that reference counts are indeed correct. */ xassert (dpyinfo->reference_count == dpyinfo_refcount); xassert (dpyinfo->image_cache->refcount == image_cache_refcount); - +#endif return Qt; } -- 2.39.5