From c9c1b436ae638cc7f54e203674c61a9a2633d4ec Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 3 Nov 2021 21:00:20 +0800 Subject: [PATCH] Use gtk_widget_queue_draw instead of xv_do_draw * src/xwidget.c (x_draw_xwidget_glyph_string): Call gtk_widget_queue_draw. --- src/xwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwidget.c b/src/xwidget.c index d4196bced1a..5a4cb36ee47 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -915,7 +915,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s) if (!xwidget_hidden (xv)) { #ifdef USE_GTK - xv_do_draw (xv, xww); + gtk_widget_queue_draw (xww->widget_osr); #elif defined NS_IMPL_COCOA nsxwidget_set_needsdisplay (xv); #endif -- 2.39.2