-
Notifications
You must be signed in to change notification settings - Fork 404
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
Can circumvent i3lock screen by using Super button in GNOME #112
Comments
I assume that this is a compositing issue. Can you try running the patch from #96 and see if it still behaves that way? |
Sure, need to build from source, etc? As an amateur, it may take me a little bit of time, but I'll get back to you. |
Yes, you'll need to build that PR from source to test it. Let me know if you need help! |
Know which package I need? I can't find it via |
I assume you're on Fedora? I'm not familiar with Fedora, but you could take a look at how the i3lock Fedora package is built and simply modify the source it uses. It should be this here: http://pkgs.fedoraproject.org/cgit/rpms/i3lock.git/tree/ |
Okay. Yes on Fedora. I know i3lock is most popular for Arch. I fell in love with some of the screen savers on r/unixporn, and thus am trying. Thanks for the help so far, I'll see what I can do! |
Assuming the effective input is the main and bigger problem, it's probably the lack of XIGrabDevice/XIUngrabDevice, compare eg. https://git.reviewboard.kde.org/r/122558/diff/1#index_header In case, as workaround export GDK_CORE_DEVICE_EVENTS=1 (to gnome, not i3lock) |
Thanks for the hint. Unfortunately, KDE’s reviewboard infrastructure seems to have vanished, but KDE/plasma-workspace@23b6cfb is the commit in question (the code itself has since moved to https://github.com/KDE/kscreenlocker/blob/dee0f3207ed1351236117c91a2b31b23b2d571df/ksldapp.cpp#L444). The commit message mentions that XCB doesn’t provide xinput, which was true at the time, but has changed in libxcb 1.13 (see also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733227). We should most likely grab all keyboard/pointer devices via xinput. |
Looking at this more closely, I think the xinput-specific code is only required when multiple input devices (?) are attached. As long as the Does anyone have a setup where the |
Pushed branch https://github.com/i3/i3lock/commits/xinput with a work-in-progress, untested implementation. We can complete it once we’re convinced that xinput support is helping here. |
The amount of devices doesn't matter. It is only that XInput is mandatory if you want to handle multiple input devices (eg. direct keyboard A to client X and keyboard B to client Y at the same time) |
That directly contradicts the code you have linked, though: https://github.com/KDE/kscreenlocker/blob/dee0f3207ed1351236117c91a2b31b23b2d571df/ksldapp.cpp#L451 The way I read the code, grabbing the keyboard/pointer with plain X11 will also grab them for xinput. In fact, on my setup, where the only listed master devices are virtual core keyboard/pointer, I think that code is a no-op. Am I missing something? |
Using GNOME 3.22.2. After locking with i3lock, I am able to see the windows I have open by using the super key short cut. I feel like this should not be possible, correct?
The text was updated successfully, but these errors were encountered: