mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 19:13:40 +01:00
When disabling keyboard focus, send a lost focus message
This commit is contained in:
1 parent
fe1100a714
commit
8685d02e6d
1 file changed
+4
-1
+4
-1
@@ -73,8 +73,11 @@ void SetFocusedView(View *view) {
|
||||
|
||||
void EnableFocusMovement(bool enable) {
|
||||
focusMovementEnabled = enable;
|
||||
if (!enable)
|
||||
if (!enable) {
|
||||
if (focusedView)
|
||||
focusedView->FocusChanged(FF_LOSTFOCUS);
|
||||
focusedView = 0;
|
||||
}
|
||||
}
|
||||
|
||||
bool IsFocusMovementEnabled() {
|
||||
|
||||
Reference in new issue
Block a user