sim_framebuffer: fix fb_pollnotify not called
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
parent
9e39600c83
commit
0443889124
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user