Skip to content
Snippets Groups Projects
Commit ed7232c4 authored by Marco Trevisan's avatar Marco Trevisan Committed by Will Thompson
Browse files

account-page-local: Properly check if the entry has focus

Since long time (e.g. GTK4 beginnings [1]) the GtkEntry's are never
focused while their GtkText child is, so check for that other than the
entry focus itself (that shouldn't ever happen, but kept for clarity).

This restore the logic for avoiding changing the user once it has
been customized.

[1] https://blog.gtk.org/2019/03/15/entries-in-gtk-4/

(cherry picked from commit e20814cc)
parent 00b6151e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment