[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e389da74d5: Fix recent change in xwidget.c
From: |
Po Lu |
Subject: |
master e389da74d5: Fix recent change in xwidget.c |
Date: |
Wed, 16 Feb 2022 06:55:23 -0500 (EST) |
branch: master
commit e389da74d59c3ebc3555794844772e98d0fc4ace
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix recent change in xwidget.c
* src/xwidget.c (xwidget_init_view): Don't assume ttip_widget
is NULL if tooltips have not been initialized.
---
src/xwidget.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/xwidget.c b/src/xwidget.c
index bfee80ef3e..9fbf6678ae 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -1738,11 +1738,9 @@ xw_maybe_synthesize_crossing (struct xwidget_view *view,
/* Work around a silly bug in WebKitGTK+ that tries to make tooltip
windows transient for our offscreen window. */
int tooltip_width, tooltip_height;
- struct x_output *output = FRAME_X_OUTPUT (view->frame);
- if (!output->ttip_widget)
- xg_prepare_tooltip (view->frame, dummy_tooltip_string,
- &tooltip_width, &tooltip_height);
+ xg_prepare_tooltip (view->frame, dummy_tooltip_string,
+ &tooltip_width, &tooltip_height);
#endif
toplevel = gtk_widget_get_window (XXWIDGET (view->model)->widgetwindow_osr);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master e389da74d5: Fix recent change in xwidget.c,
Po Lu <=