Skip to content

Clipboard support (in SDL) #80

Description

@rakslice

In B2/SS on Linux using SDL, at the moment it seems that there is just no clipboard support at all.

When building on Mac it has its own specific clipboard implementation that gets used, and it has the ability to use the PICT writer in pict.c to bring image data from outside into the emulated mac, and it looks like there is some facility for bringing whatever types that can just come straight across to the host pasteboard on Mac OS X as-is.

Other than that the only clipboard support on POSIX is for X11 but isn't used if you're building for SDL. (I can't tell if this is disabled on purpose or if it's an oversight, but I remember there being some issue with init order if you're using both X11 and SDL).

SDL itself has some clipboard APIs; in 2 this is just for text, which would still be useful.

It seems like they're trying to make this fully featured custom data type clipboard support in 3.

Make a new clipboard support implementation for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions