• Keith Packard's avatar
    randr: Add Monitor support (v1.1) · 7e1f86d4
    Keith Packard authored
    Store the user-defined monitors in the RandR screen private.
    Generate a list of monitors from both the user-defined ones and from
    any outputs not mentioned in one of the user-defined monitors. This list
    covers both the outputs in the main screen as well as any slaves.
    v1.1: airlied: fix up primary skipping bug,
    fix wrong height initialiser
    add get_active flag from updated protocol.
    Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
    Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
randr.c 20.1 KB