]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid gtk warnings on X
authorYuuki Harano <masm+github@masm11.me>
Fri, 16 Oct 2020 18:51:15 +0000 (03:51 +0900)
committerJeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>
Tue, 24 Nov 2020 01:24:40 +0000 (12:24 +1100)
* src/xwidget.c (xwidget_osr_draw_cb): Call it to avoid alloc_needes.

src/xwidget.c

index e929df0a496bede1ad46dddafc51e3ac8d0114ae..c9fc706663bca3ae2f1908ec656a812530cf2e23 100644 (file)
@@ -510,6 +510,10 @@ xwidget_osr_draw_cb (GtkWidget *widget, cairo_t *cr, gpointer data)
   cairo_rectangle (cr, 0, 0, xv->clip_right, xv->clip_bottom);
   cairo_clip (cr);
 
+#ifdef HAVE_PGTK
+  gtk_container_check_resize (GTK_CONTAINER (xw->widgetwindow_osr));
+#endif
+
   gtk_widget_draw (xw->widget_osr, cr);
   return FALSE;
 }