]> git.tdb.fi Git - libs/gltk.git/commit
Only pass key and navigation events to enabled widgets
authorMikko Rasa <tdb@tdb.fi>
Fri, 2 Sep 2016 22:08:37 +0000 (01:08 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 2 Sep 2016 22:08:37 +0000 (01:08 +0300)
commit7a479bd688449ec150196f033855af7713fddc0e
tree899f2e0396a2bb36531a245586a721ff1d4562fe
parent35f6cfcfb7a7278251d890988fdf6a6bbf793ef8
Only pass key and navigation events to enabled widgets

It would be even better to not allow them to be focused in the first
place, but that raises issues such as where to put the focus if the
focused widget gets disabled.  So this will have to do.
source/container.cpp