fix caret and tab switch on invisible widgets(#62)

This commit is contained in:
Jinhao
2015-06-15 22:31:03 +08:00
parent 2d1a347116
commit 7dae086162
6 changed files with 77 additions and 51 deletions

View File

@@ -721,7 +721,7 @@ namespace API
if(restrict::window_manager.available(iwd) && (iwd->flags.enabled != enabled))
{
iwd->flags.enabled = enabled;
restrict::window_manager.update(iwd, true, false);
restrict::window_manager.update(iwd, true, true);
if(category::flags::root == iwd->other.category)
restrict::interface_type::enable_window(iwd->root, enabled);
}