fix dark window on macos

This commit is contained in:
xianjimli 2018-10-18 10:23:28 +08:00
parent 44603a546a
commit dccbdcc40a
2 changed files with 3 additions and 0 deletions

View File

@ -174,6 +174,7 @@ bin\demoui
* 2018/10/18
* 修改控件状态问题在特殊情况下mouse重新进入控件状态没有改变
* 修改MacOS升级后打开窗口瞬间出现黑屏的问题。
* 增加文档。
* 2018/10/17

View File

@ -175,6 +175,8 @@ static ret_t main_loop_sdl2_dispatch_window_event(main_loop_simple_t* loop, SDL_
log_debug("Window %d got unknown event %d\n", event->window.windowID, event->window.event);
break;
}
widget_invalidate_force(loop->base.wm);
return RET_OK;
}