forked from AuroraMiddleware/gtk
Merge branch '1371-flickering-tooltips-if-no-mouse-cursor-theme-loaded-gtk3' into 'gtk-3-24'
Tooltip: Fix the used cursor size if 0 in Settings See merge request GNOME/gtk!374
This commit is contained in:
commit
00034c00be
@ -898,6 +898,9 @@ gtk_tooltip_position (GtkTooltip *tooltip,
|
||||
"gtk-cursor-theme-size", &cursor_size,
|
||||
NULL);
|
||||
|
||||
if (cursor_size == 0)
|
||||
cursor_size = gdk_display_get_default_cursor_size (display);
|
||||
|
||||
if (device)
|
||||
anchor_rect_padding = MAX (4, cursor_size - 32);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user