Skip to content

Add primary-selection and wlr data-control clipboard #31

Description

@loukamb

Problem
input.lua wires only the regular clipboard (request_set_selection -> wlr_seat_set_selection). There is no primary-selection (middle-click paste) and no data-control.

Why it matters
Middle-click paste (ubiquitous on Linux) doesn't work, and clipboard managers (wl-clipboard, clipman, cliphist) can't read or manage the clipboard.

Where
compositor/services/input.lua selection area (~lines 806/938); includes in shared/wayland/server.lua.

Approach
wlr_primary_selection_v1_device_manager_create(display) + listen seat.events.request_set_primary_selection -> wlr_seat_set_primary_selection; also wlr_data_control_manager_v1_create(display).

Effort
M

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew capabilityprotocolWayland protocol support

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions