Skip to content
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

Backend/x11 #22

Merged
merged 33 commits into from
Nov 15, 2023
Merged

Backend/x11 #22

merged 33 commits into from
Nov 15, 2023

Conversation

TornaxO7
Copy link
Collaborator

@TornaxO7 TornaxO7 commented Nov 10, 2023

Adding the backend implementation for X11.

Closes #3

General information

I'm aware, that you need async for wayland. But that's not needed for xorg and we can still call this function in an async function.

@TornaxO7 TornaxO7 requested a review from eneoli November 10, 2023 23:11
@TornaxO7 TornaxO7 self-assigned this Nov 10, 2023
Copy link
Owner

@eneoli eneoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments explaining the convertion process would be nice ^^
Maybe with doc links

src/backend/mod.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/backend/mod.rs Outdated Show resolved Hide resolved
src/backend/x11.rs Outdated Show resolved Hide resolved
@eneoli
Copy link
Owner

eneoli commented Nov 10, 2023

Regarding your async mention: We should provide an uniform interface. For example if implementing dbus we will also need to wait for some sort of callback.

@TornaxO7
Copy link
Collaborator Author

Some comments explaining the convertion process would be nice ^^ Maybe with doc links

hm... isn't the code not readable enough? Aren't the variable names + function names explaining enough?
Could you please give an example where you could imagine a better explanation?

@TornaxO7 TornaxO7 requested a review from eneoli November 10, 2023 23:40
@TornaxO7 TornaxO7 mentioned this pull request Nov 11, 2023
Copy link
Owner

@eneoli eneoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to be adapted to our OutputInfo interface

src/backend/mod.rs Outdated Show resolved Hide resolved
src/backend/x11.rs Outdated Show resolved Hide resolved
@eneoli eneoli merged commit 713efaf into main Nov 15, 2023
1 check passed
@eneoli eneoli deleted the backend/x11 branch November 15, 2023 12:48
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.

Screenshotting Xorg
2 participants