[Wayland-bugs] [Bug 759168] wayland: Implement DND icon hotspot API

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 8 08:52:47 PST 2015


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

--- Comment #5 from Matthias Clasen <mclasen at redhat.com> ---
Review of attachment 316924:

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 ?

-- 
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/20151208/369a5497/attachment.html>


More information about the wayland-bugs mailing list