sim_framebuffer: fix fb_pollnotify not called

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
pengyiqiang 2022-12-22 12:36:36 +08:00 committed by Alan Carvalho de Assis
parent 9e39600c83
commit 0443889124

View File

@ -348,7 +348,7 @@ void sim_x11loop(void)
if (now - last >= MSEC2TICK(16))
{
if (sim_x11update() > 0)
if (sim_x11update() >= 0)
{
fb_pollnotify(&g_fbobject);
}