Changeset 155329 in webkit
- Timestamp:
- Sep 9, 2013 12:31:39 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r155325 r155329 1 2013-09-09 Claudio Saavedra <csaavedra@igalia.com> 2 3 [GTK] ghost cursor when mouse hovers over an image file in a tab 4 https://bugs.webkit.org/show_bug.cgi?id=120675 5 6 Reviewed by Carlos Garcia Campos. 7 8 No new tests, covered by existing. 9 10 * platform/gtk/CursorGtk.cpp: 11 (WebCore::createNamedCursor): Use new gdk_cursor_new_from_surface() 12 when compiling against GTK+ 3.9.12 or newer. 13 1 14 2013-09-08 Santosh Mahto <santosh.ma@samsung.com> 2 15 -
trunk/Source/WebCore/platform/gtk/CursorGtk.cpp
r155113 r155329 55 55 cairo_mask_surface(cr.get(), mask.get(), 0, 0); 56 56 57 #if GTK_CHECK_VERSION(3, 9, 12) 58 return adoptGRef(gdk_cursor_new_from_surface(gdk_display_get_default(), surface.get(), cursor.hot_x, cursor.hot_y)); 59 #else 57 60 GRefPtr<GdkPixbuf> pixbuf = adoptGRef(gdk_pixbuf_get_from_surface(surface.get(), 0, 0, 32, 32)); 58 61 return adoptGRef(gdk_cursor_new_from_pixbuf(gdk_display_get_default(), pixbuf.get(), cursor.hot_x, cursor.hot_y)); 62 #endif 59 63 } 60 64
Note: See TracChangeset
for help on using the changeset viewer.