[Wayland-bugs] [Bug 759168] wayland: Implement DND icon hotspot API
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Dec 8 17:30:13 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=759168
--- Comment #9 from Jonas Ã…dahl <jadahl at gmail.com> ---
(In reply to Matthias Clasen from comment #5)
> Review of attachment 316924 [details] [review]:
>
> Testing this with
>
> diff --git a/tests/testentryicons.c b/tests/testentryicons.c
> index df1d02b..e876199 100644
> --- a/tests/testentryicons.c
> +++ b/tests/testentryicons.c
> @@ -17,7 +17,7 @@ drag_begin_cb (GtkWidget *widget,
>
> pos = gtk_entry_get_current_icon_drag_source (GTK_ENTRY (widget));
> if (pos != -1)
> - gtk_drag_set_icon_name (context, "dialog-information", 2, 2);
> + gtk_drag_set_icon_name (context, "dialog-information", 24, 24);
> }
>
> static void
>
>
> shows that it kinda works, but the offset is much bigger than 24 - maybe it
> gets applied repeatedly, or there is some scale confusion ?
Indeed, it seems to kind of work. Though I suspect the error lies within mutter
and not this patch, since the it works just fine under weston. Will
investigate.
--
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/20151209/6cec8afa/attachment.html>
More information about the wayland-bugs
mailing list