From 3fd802081f292b0a3a2fce8394067bbd9ce88f67 Mon Sep 17 00:00:00 2001 From: Joakim Verona Date: Sat, 31 Jan 2015 21:07:07 +0100 Subject: [PATCH] Fix for crash when displaying xwidget in a tty Xwidgets are now handled the same as images in the tty case, they are ignored. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 5da611e0565..d868633e25c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5135,7 +5135,8 @@ handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object, #endif /* not HAVE_WINDOW_SYSTEM */ || (CONSP (value) && EQ (XCAR (value), Qspace)) #ifdef HAVE_XWIDGETS - || valid_xwidget_spec_p(value) + || ((it ? FRAME_WINDOW_P (it->f) : frame_window_p) + && valid_xwidget_spec_p(value)) #endif ); -- 2.39.2