c738b2e454
Before this commit, i3 used key bindings in SYNC mode for bindings like Mode_switch + <a> and replayed the key if the current state did not include Mode_switch. This had some problems: 1) The WM needed to acknowledge much more key presses than you actually had bindings for, thus making the system a bit laggy sometimes. 2) Users of layouts who constantly type in the third level (like russian layouts) did not get their cyrillic symbols correctly (they were not replayed right), neither did the keybindings work in both modes. So, the current implementation uses the following approach: XKB provides an event which contains the current state (including the current level). i3 signs up for this event and upon receival, it re-maps the bindings using Mode_switch (enables them when the level goes to the third level and disables them as soon as the level goes back to normal). This fixes both problems. |
||
---|---|---|
debian | ||
docs | ||
i3-input | ||
i3-msg | ||
include | ||
man | ||
src | ||
testcases | ||
tests | ||
website | ||
.gitignore | ||
CMDMODE | ||
common.mk | ||
DEPENDS | ||
GOALS | ||
i3.config | ||
i3.desktop | ||
i3.welcome | ||
LICENSE | ||
logo.svg | ||
Makefile | ||
PACKAGE-MAINTAINER | ||
pseudo-doc.doxygen | ||
RELEASE-NOTES-3.a-bf1 | ||
RELEASE-NOTES-3.b | ||
RELEASE-NOTES-3.c | ||
RELEASE-NOTES-3.d | ||
TODO |