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

Fixed several issues for X11 #148

Open
wants to merge 10 commits into
base: 1.3
Choose a base branch
from

Conversation

Da4HuK
Copy link

@Da4HuK Da4HuK commented May 29, 2022

  1. Added call load_input_helper() into on_library_load.
    In case if you want just post events without hooks then it lead to usage of xfree86_scancode_table even if evdev available.
    It leads that keys e.g. VC_UP, VC_DOWN, etc. works incorrectly.

  2. Fixed checks for XTestFake functions.
    According to source code, functions XTestFakeKeyEvent, XTestFakeButtonEvent, XTestFakeMotionEvent always returns 1.
    Please see https://github.com/freedesktop/xorg-libXtst/blob/master/src/XTest.c

@@ -444,6 +444,8 @@ void on_library_load() {
__FUNCTION__, __LINE__, "XOpenDisplay success.");
}

load_input_helper();
Copy link
Owner

Choose a reason for hiding this comment

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

Why does this need to run on library load?

@kwhat kwhat force-pushed the 1.3 branch 2 times, most recently from 7d51994 to 90c2248 Compare May 7, 2024 14:34
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.

3 participants