# The compositor `emu` starts when this machine has no display, so that the # Android emulator has an X server to talk to. # # Nothing here is meant to be looked at; there is no screen. The point is # Xwayland: the emulator's `-gpu host` renderer speaks GLX, and with no # DISPLAY at all it falls back to a software rasteriser. Xwayland's GLX is # backed by this VM's virtio-gpu render node, so the guest's GLES ends up on # the host's real GPU. # # `xwayland force` starts it immediately rather than at the first X client, # so `emu` can read DISPLAY out of a running compositor instead of racing it. xwayland force # Sized to a phone so the emulator's window is never scaled or clipped. It is # larger than any AVD here; an output smaller than the window is the one way # this arrangement can affect what the emulator renders. output HEADLESS-1 mode 1440x3120@60Hz # No bar, no wallpaper, no keybindings, no pointer follow: each of those is a # client to start or a thing to go wrong on a machine with nobody at the # keyboard, and none of them has anything to draw on. default_border none focus_follows_mouse no