input widgets keep focus when form/panel is clicked

see API::ignore_mouse_focus
This commit is contained in:
Jinhao
2015-05-17 09:47:58 +08:00
parent e7c9708b4f
commit aac94e238b
9 changed files with 68 additions and 24 deletions

View File

@@ -1037,7 +1037,7 @@ namespace detail
{
++i;
core_window_t* ts = (i != end ? (*i) : tabs.front());
return (ts != wd ? ts : 0);
return (ts != wd ? ts : nullptr);
}
else
return tabs.front();