fix: call SetCanActivate in setFocusable (#21846)
This commit is contained in:
parent
100a85f93a
commit
36fac7bfec
2 changed files with 12 additions and 0 deletions
|
@ -992,6 +992,7 @@ void NativeWindowViews::SetContentProtection(bool enable) {
|
|||
}
|
||||
|
||||
void NativeWindowViews::SetFocusable(bool focusable) {
|
||||
widget()->widget_delegate()->SetCanActivate(focusable);
|
||||
#if defined(OS_WIN)
|
||||
LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);
|
||||
if (focusable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue