static void
show_help_event (struct frame *f, GtkWidget * widget, Lisp_Object help)
{
+ /* Don't show this tooltip.
+ * Tooltips are always tied to main widget, so stacking order
+ * on Wayland is:
+ * (above)
+ * - menu
+ * - tooltip
+ * - main widget
+ * (below)
+ * This is applicable to tooltips for menu, and menu tooltips
+ * are shown below menus.
+ * As a workaround, I entrust Gtk with menu tooltips, and
+ * let emacs not to show menu tooltips.
+ */
+
+#if 0
Lisp_Object frame;
if (f)
}
else
show_help_echo (help, Qnil, Qnil, Qnil);
+#endif
}
/* Callback called when menu items are highlighted/unhighlighted