push events to window on top of screen when no focused window
This commit is contained in:
committed by
Raphael Coeffic
parent
96f5621bc5
commit
a33daa6c2e
@@ -56,6 +56,9 @@ extern "C" void keyboardDriverRead(lv_indev_drv_t *drv, lv_indev_data_t *data)
|
||||
auto focusWindow = Window::getFocus();
|
||||
if (focusWindow) {
|
||||
focusWindow->onEvent(evt);
|
||||
} else {
|
||||
auto w = Layer::back();
|
||||
if (w) w->onEvent(evt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 2ce13e722a...445830f602
Reference in New Issue
Block a user