]> git.tdb.fi Git - libs/gltk.git/commit
Clear saved input focus if the widget is removed from the container
authorMikko Rasa <tdb@tdb.fi>
Sun, 20 Aug 2023 20:25:02 +0000 (23:25 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 20 Aug 2023 21:52:42 +0000 (00:52 +0300)
commitab45b7660aec83978871ade009846dcb8c34579f
tree95385ae744935b3c413a0665484e4516cec51791
parent9678abb23abe450109e2feda081f5bba5f20cc94
Clear saved input focus if the widget is removed from the container

Checking the saved focus widget's parent in focus_in can lead to use
after free if the widget was deleted in the meantime.
source/container.cpp