[Wayland-bugs] [Bug 759018] wayland: tests/testtooltips custom tooltip misplaced at (0, 0) on Wayland

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Fri Dec 4 02:58:53 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759018

Olivier Fourdan <ofourdan at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #316757|reviewed                    |none
             status|                            |
 Attachment #316757|0                           |1
        is obsolete|                            |

--- Comment #3 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 316763
  --> https://bugzilla.gnome.org/attachment.cgi?id=316763&action=edit
wayland: fix testtooltips

(In reply to Emmanuele Bassi (:ebassi) from comment #2)
> Review of attachment 316757 [details] [review]:
> 
> ::: tests/testtooltips.c
> @@ +60,3 @@
>    GtkWindow *window = gtk_widget_get_tooltip_window (widget);
>  
> +  gtk_window_set_type_hint (window, GDK_WINDOW_TYPE_HINT_TOOLTIP);
> 
> I wonder why you put these here, instead of setting the hint and the
> transient-for bits when creating tooltip_window.

Yeah, that would work equally well. Updated patch attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151204/56ef432f/attachment-0001.html>


More information about the wayland-bugs mailing list