forked from AuroraMiddleware/gtk
tooltips: Don't use a cursor_size of 0
This leads to flickering tooltips.
This commit is contained in:
parent
91bbce3fef
commit
058986714c
@ -603,6 +603,9 @@ gtk_tooltip_position (GtkTooltip *tooltip,
|
||||
"gtk-cursor-theme-size", &cursor_size,
|
||||
NULL);
|
||||
|
||||
if (cursor_size == 0)
|
||||
cursor_size = 16;
|
||||
|
||||
if (device)
|
||||
anchor_rect_padding = MAX (4, cursor_size - 32);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user