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:
Matthias Clasen 2017-12-09 08:33:21 -05:00
parent da0582075a
commit b3ebffa07d

View File

@ -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)