forked from AuroraMiddleware/gtk
Switch the order for cursor lookup
When looking for the cursor to apply, start from the innermost widget and go up. This is the right behavior for cases like entry icons. The top-down order we were using so far is the right behavior for cases like global wait cursors. Since we have entry icons in gtk, but not global wait cursors, lets pick the other order for now.
This commit is contained in:
parent
da0582075a
commit
b3ebffa07d
@ -11358,7 +11358,7 @@ update_cursor (GtkWindow *toplevel,
|
||||
}
|
||||
}
|
||||
|
||||
for (l = widgets; l; l = l->next)
|
||||
for (l = g_list_last (widgets); l; l = l->prev)
|
||||
{
|
||||
cursor = gtk_widget_get_cursor (l->data);
|
||||
if (cursor)
|
||||
|
Loading…
Reference in New Issue
Block a user