diff options
author | Kim F. Storm <storm@cua.dk> | 2005-02-03 14:09:04 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2005-02-03 14:09:04 +0000 |
commit | 5b3f855065861039e69524160f62e537dde517cc (patch) | |
tree | bb9cd8fe0bb691abc9ccbcd378f787051174b236 /src | |
parent | a6d8ba25aec5b12c60286c55b109149d69d82e9a (diff) | |
download | emacs-5b3f855065861039e69524160f62e537dde517cc.tar.gz |
(unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert.
Diffstat (limited to 'src')
-rw-r--r-- | src/xfns.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c index 64a83cdd5f6..6aaba582e57 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2863,9 +2863,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; } @@ -4087,7 +4089,7 @@ Value is VALUE. */) 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 @@ or directory must exist. ONLY-DIR-P is ignored." */) if (keysym == XK_g && (event.xkey.state & ControlMask) != 0) XtUnmanageChild (dialog); } - + (void) x_dispatch_event (&event, FRAME_X_DISPLAY (f)); } |