aboutsummaryrefslogtreecommitdiff
path: root/examples/text-input.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-11-26 11:06:37 +0100
committerSimon Ser <contact@emersion.fr>2020-12-13 12:16:28 +0100
commit768131e4883ed8b04ced6b453721fc28dbf61577 (patch)
tree1d086a2138a4a79cfaddb3af5e14f651a733ed74 /examples/text-input.c
parent4c363a564f7ce1ef722417e8b8a0607c1004c828 (diff)
output: stop assuming a frame is pending in init
- The DRM backend initially doesn't have a frame scheduled initially. However the compositor is expected to set a mode to start the rendering loop (frame_pending is set to true in drm_crtc_pageflip). - The headless and X11 backends have a timer to schedule frames, so they ignore this hint completely. - The Wayland backend renders a fake frame to start the rendering loop. It's the only case where a frame is pending on init, move the assumption there.
Diffstat (limited to 'examples/text-input.c')
0 files changed, 0 insertions, 0 deletions