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

Implemented protocols #119

Open
Sydiepus opened this issue Apr 21, 2023 · 1 comment
Open

Implemented protocols #119

Sydiepus opened this issue Apr 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Sydiepus
Copy link
Contributor

Not an issue but would you consider adding a section or anything to keep track of the implemented protocols ?
And what about a section with links to other projects that uses pywlroots ?

@flacjacket flacjacket added the enhancement New feature or request label Apr 21, 2023
@Sydiepus
Copy link
Contributor Author

I made a small script to check for unimplemented wlr types.

import os

system_proto = os.listdir("/usr/include/wlr/types")
implem_proto = os.listdir("wlroots/wlr_types")

system_proto_set = set(map(lambda x: x.replace("wlr_", "").replace(".h", ""), system_proto))
implem_proto_set = set(map(lambda x: x.replace(".py", ""), implem_proto))

not_implem_proto = system_proto_set - implem_proto_set

for i in not_implem_proto :
    print(f"{i} not implemented")

it yields this result :

xdg_foreign_v1 not implemented
drm not implemented
fullscreen_shell_v1 not implemented
input_method_v2 not implemented
input_inhibitor not implemented
tablet_tool not implemented
primary_selection not implemented
xdg_foreign_v2 not implemented
relative_pointer_v1 not implemented
region not implemented
xdg_foreign_registry not implemented
data_device not implemented
keyboard_group not implemented
switch not implemented
tablet_v2 not implemented
single_pixel_buffer_v1 not implemented
drm_lease_v1 not implemented
text_input_v3 not implemented
session_lock_v1 not implemented
tablet_pad not implemented
damage_ring not implemented
keyboard_shortcuts_inhibit_v1 not implemented
linux_dmabuf_v1 not implemented
subcompositor not implemented

I hope that this was useful in any way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants