[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7b621c40f3: Queue xwidget views for allocation in more places
From: |
Po Lu |
Subject: |
master 7b621c40f3: Queue xwidget views for allocation in more places |
Date: |
Wed, 29 Dec 2021 02:01:18 -0500 (EST) |
branch: master
commit 7b621c40f39c49232d96e446892ee2f553cf733d
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Queue xwidget views for allocation in more places
* src/xwidget.c (Fmake_xwidget) [HAVE_PGTK]:
(Fxwidget_resize) [HAVE_PGTK]: Queue xwidgets and views for
allocation.
---
src/xwidget.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/xwidget.c b/src/xwidget.c
index c05cefde4b..71a1a46d10 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -327,6 +327,7 @@ fails. */)
gtk_widget_set_size_request (GTK_WIDGET (xw->widget_osr), xw->width,
xw->height);
+ gtk_widget_queue_allocate (GTK_WIDGET (xw->widget_osr));
if (EQ (xw->type, Qwebkit))
{
@@ -2195,6 +2196,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s)
clip_bottom - clip_top);
gtk_fixed_move (GTK_FIXED (FRAME_GTK_WIDGET (xv->frame)),
xv->widget, x + clip_left, y + clip_top);
+ gtk_widget_queue_allocate (xv->widget);
#endif
#elif defined NS_IMPL_COCOA
nsxwidget_resize_view (xv, clip_right - clip_left,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7b621c40f3: Queue xwidget views for allocation in more places,
Po Lu <=