xpra icon
Bug tracker and wiki

Opened 4 months ago

Last modified 3 months ago

#2351 assigned enhancement

dynamic client connection class

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: server Version: 2.5.x
Keywords: Cc:

Description

Taking #1838 one step further: when the client disables a feature completely (ie: clipboard) or when the client is not a UI client (ie: #2348) then we can generate a custom client class without those base classes.

get_client_connection_class needs to be made dynamic.
We'll need a map from flags to mixins, ie:

 "clipboard" : ClipboardConnection,
 "webcam" : WebcamMixin,
etc..

Change History (2)

comment:1 Changed 4 months ago by Antoine Martin

Status: newassigned

Preparatory work in r23081.

comment:2 Changed 3 months ago by Antoine Martin

Milestone: 3.04.0

This will be much easier to implement after dropping python2 support. (v4)

Note: See TracTickets for help on using tickets.