Skip to content

Refactor struct xrdp_client_info (rework) #3492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from

Conversation

matt335672
Copy link
Member

@matt335672 matt335672 commented Apr 4, 2025

Rework of #3490

The struct 'struct xorgxrdp_client_info' is factored out of 'struct xrdp_client_info'. This represents the items which are required to be passed to xorgxrdp.

This PR also requires a small change to xorgxrdp (neutrinolabs/xorgxrdp#384).

Is pub a good name for the new member of struct xrdp_client_info? There's probably a better one.

Edit: Because line lengths of some lines are increased because of the need for a pub member to access some data, I've added three commits to tidy up some source lines more than 80 characters in length. These commits should not change any functionality and could stand on their own.

The struct 'struct xorgxrdp_client_info' is factored out of
'struct xrdp_client_info'. This represents the items which are
required to be passed to xorgxrdp.
Some assignments and copies are replaced with a single equivalent
structure assigment to improve readability.
Use some variable substitutions and reformatting to reduce
some source lines to <= 80 characters to improve readability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant