mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 20:18:22 +08:00
fix restore focus when back to prev window
This commit is contained in:
parent
6fb6676389
commit
f668acc8ed
@ -343,6 +343,7 @@ ret_t window_base_on_event(widget_t* widget, event_t* e) {
|
||||
} else {
|
||||
win->grab_count_when_to_foreground = 0;
|
||||
}
|
||||
} else if (e->type == EVT_BLUR) {
|
||||
if (win->save_focus_widget) {
|
||||
widget_unref(win->save_focus_widget);
|
||||
win->save_focus_widget = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user