Comments (6)
It depends on the shortcuts in question. Traditionally X grabs are used to avoid interference among multiple clients which want to listen for the same set of keys. warpd used to use these grabs before they were replaced by a custom input layer based on xinput in order to allow compatibility with more applications.
While warpd is active it should grab all keys, but before it is active it has no way of preventing applications from processing the activation keys. It is up to the user to ensure there are no conflicts. This is why it is currently possible to bind activation keys which conflict with your window manager bindings.
Having said that, I am currently in the process of doing a partial rewrite (mainly to add macos support) which will likely end up using standard X grabs for the linux implementation.
from warpd.
Well the shortcut that most bothers me is esc. I dont mean the activation keys. On some programs I try to use warpd to focus on a text box but when I hit esc to exit warpd it also exits the textbox.
from warpd.
Actually seems this is only happening with the exit shortcut. Is there something specific to it that is making other applications grab it?
from warpd.
I just bisected and the problem was introduced by: 806f6a0
It is the leaking exit key problem.
from warpd.
Changing that 0 to 1 fixes it for me. Maybe it has other consequences?
diff --git a/src/main.c b/src/main.c
index 348a72b..94809c5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -440,7 +440,7 @@ void main_loop()
}
- input_ungrab_keyboard(0);
+ input_ungrab_keyboard(1);
set_cursor_visibility(1);
}
}
from warpd.
Sorry, you're right. This is indeed a regression. I have fixed it in the latest commit. Note that I will be releasing a fairly major overhaul of the current code base in the next few days that will also include some design changes.
from warpd.
Related Issues (20)
- More documentation for config and usage HOT 2
- "undefined reference to `wayland_init`" while running `make` on Fedora HOT 1
- warpd entering normal mode on Backslash (A-M-\)
- System hangs up while starting warpd HOT 1
- Windows 11: When I run `warpd --list-options` it either starts it or tells me that it's already running. It does not list options...
- Windows v1.3.7-windows-alpha cannot trigger capital keys e.g. `A-M-X` for two pass hint mode and `W` for grid cut up HOT 1
- bug: activation in windows on non-primary screen fails assertion for scr HOT 1
- bug: warpd broke system keyboard HOT 4
- Feature Request: scroll right/left key in addition to scroll up/down key HOT 2
- No button key binding works in hyprland
- Windows: co-existence with kMonad? HOT 2
- Add an cmd option `--restart`
- warpd is cannot be launched since: "C-o is not a valid key name" HOT 1
- Could not create virtual pointer (virtual pointer unsupported?) HOT 1
- What is warpd -l for, or how can I set up my activation key?
- Understanding the history feature: How Does It Work?
- Warpd hangs in macos with non latin input HOT 1
- Wayland: warpd looses focus when when popup inside IntelliJ idea shows up
- how to debug in wayland?
- On sway (wayland), warpd sometimes hangs in `discover_pointer_location`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warpd.