Fix regression after forcing UI keyboard/input focus
Closes #127 Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
b91af832e1
commit
abe6c8db6b
1 changed files with 4 additions and 3 deletions
|
@ -714,11 +714,12 @@ protected:
|
|||
setState("windowSize", sizeString);
|
||||
}
|
||||
|
||||
void uiFocus(const bool gotFocus, CrossingMode) override
|
||||
void uiFocus(const bool focus, const CrossingMode mode) override
|
||||
{
|
||||
if (gotFocus)
|
||||
if (focus)
|
||||
{
|
||||
getWindow().focus();
|
||||
if (mode == kCrossingNormal)
|
||||
getWindow().focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue