bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is ni


From: Po Lu
Subject: bug#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is nil in pgtk
Date: Fri, 24 Dec 2021 18:38:58 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

martin rudalics <rudalics@gmx.at> writes:

> This has the effect that the tooltip becomes invisible forever after it
> has been shown once.

Thanks, I'm beginning to understand the problem.

Try removing this part of `x_create_tip_frame' in pgtkfns.c:

  gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f));


And adding `gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (tip_f))' to
this part of x-show-tip in that file:

  /* Show tooltip frame.  */
  block_input ();
  gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (tip_f)), width, 
height);
  gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (tip_f)), root_x, root_y);
  unblock_input ();

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]