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

Fix encoding of X11GetKeyboardMappingRequest #16

Merged
merged 1 commit into from
May 24, 2024

Conversation

GZGavinZhao
Copy link
Contributor

Minimum repro:

import 'package:x11/x11.dart';

void main() async {
  var client = X11Client();
  await client.connect();

  final mapping = await client.getKeyboardMapping(firstKeycode: 100, count: 1);
  print(mapping);

  await client.close();
}

Correct encoding of X11GetKeyboardMappingRequest borrowed from python-xlib here.

Signed-off-by: Gavin Zhao <git@gzgz.dev>
@robert-ancell robert-ancell merged commit cc5cf90 into robert-ancell:main May 24, 2024
1 check passed
@robert-ancell
Copy link
Owner

Thanks!

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.

2 participants