# HG changeset patch # User Kim F. Storm # Date 1107439744 0 # Node ID adc18da6868271274de22864545d113e3ea0bc8a # Parent f2619addaa72d9ad54aaacc943657b65ba2f13ef (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. diff -r f2619addaa72 -r adc18da68682 src/xfns.c --- a/src/xfns.c Thu Feb 03 14:08:47 2005 +0000 +++ b/src/xfns.c Thu Feb 03 14:09:04 2005 +0000 @@ -2863,9 +2863,11 @@ 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; } @@ -4087,7 +4089,7 @@ if (! NILP (outer_p)) w = FRAME_OUTER_WINDOW (f); else w = FRAME_X_WINDOW (f); - + XChangeProperty (FRAME_X_DISPLAY (f), w, prop_atom, target_type, element_format, PropModeReplace, data, nelements); @@ -5256,7 +5258,7 @@ if (keysym == XK_g && (event.xkey.state & ControlMask) != 0) XtUnmanageChild (dialog); } - + (void) x_dispatch_event (&event, FRAME_X_DISPLAY (f)); }