Guile Really-Improved 3 Window Manager Fork of i3-wm with guile configuration
Go to file
Michael Stapelberg d77d40173a Only add NumLock fallback where necessary.
Previously, we always discarded the NumLock bit when looking up key
bindings for key press events, and we always grabbed every keycode with
and without the NumLock modifier.

With this commit, the NumLock bit is no longer discarded: since the
previous commit 3bd5e6e5c8 we can
correctly look up key bindings with/without the NumLock bit, as both
variants are stored in |keycodes_head|.

Further, before adding the NumLock fallback (resulting in grabbing the
keycode with the NumLock modifier), we now check whether the key has the
same meaning when NumLock is enabled. This correctly distinguishes the
KP_End vs. KP_1 case, i.e. one can now use the following key bindings:

    # No longer accidentally triggered when pressing KP_1.
    bindsym KP_End nop KP_End

    # Properly distinguished now:
    bindsym KP_End nop KP_End
    bindsym Mod2+KP_1 nop KP_1

fixes #2346
2016-08-02 20:34:20 +02:00
.github Add issue template 2016-02-19 18:48:49 +01:00
contrib contrib: add per-workspace-layout.pl 2014-01-26 16:51:32 +01:00
debian Introduce support for specifying variables from X resources. (#2286) 2016-05-08 12:55:27 +02:00
docs Introduced a new GET_BINDING_MODES message type and reply. (#2376) 2016-06-15 22:25:22 +02:00
i3-config-wizard Correct color management for pango fonts 2015-12-29 14:26:21 +01:00
i3-dump-log Don't use pthread on OpenBSD 2016-06-11 14:47:26 +02:00
i3-input Remove dead code guarded with "#if 0 … #endif" (#2338) 2016-05-05 14:18:04 +02:00
i3-msg Introduced a new GET_BINDING_MODES message type and reply. (#2376) 2016-06-15 22:25:22 +02:00
i3-nagbar Add pledge(2) support for OpenBSD 2016-01-17 18:49:00 +01:00
i3bar Update i3bar LICENSE to conform to other LICENSE files. (#2284) 2016-04-10 04:15:49 -07:00
include refactoring: store modifiers alongside translated keycodes 2016-08-02 20:10:49 +02:00
libi3 Convert ifdef CAIRO_SUPPORT to if statements to keep consistency with common.mk 2016-03-23 10:58:10 -05:00
man Update manpages (#2404) 2016-07-30 19:30:25 +02:00
parser-specs Smart option added to hide_edge_borders config param (#2191) (#2191) 2016-05-10 20:27:20 +02:00
src Only add NumLock fallback where necessary. 2016-08-02 20:34:20 +02:00
testcases Only add NumLock fallback where necessary. 2016-08-02 20:34:20 +02:00
travis travis: ubuntu: install libxcb-xrm from our repository 2016-05-26 14:53:30 +02:00
.clang-format clang-format: don’t define ForeachMacros 2014-06-19 11:17:46 +02:00
.gitignore Rebuild version.o when version.c or LAST_VERSION change 2015-04-12 12:31:58 -04:00
.travis.yml travis: build debian packages and documentation 2016-04-08 09:31:07 +02:00
DEPENDS Introduce support for specifying variables from X resources. (#2286) 2016-05-08 12:55:27 +02:00
I3_VERSION initial (manual) version files check-in 2016-04-07 19:12:21 +02:00
LICENSE Remove copyright year range from License 2016-01-17 16:25:54 +05:30
Makefile travis: snapshot git version before creating dist tarball 2016-05-02 08:49:16 +02:00
PACKAGE-MAINTAINER Update information on where to find #i3 on IRC 2016-03-10 18:05:17 +01:00
RELEASE-NOTES-4.12 release i3 4.12 2016-03-06 16:17:15 +01:00
VERSION initial (manual) version files check-in 2016-04-07 19:12:21 +02:00
common.mk Introduce support for specifying variables from X resources. (#2286) 2016-05-08 12:55:27 +02:00
generate-command-parser.pl travis: check spelling of binaries and manpages, use docker 2016-02-06 10:36:43 +01:00
i3-dmenu-desktop i3-dmenu-desktop: do not die on failed open 2016-03-23 18:48:38 +01:00
i3-migrate-config-to-v4 Remove dead documentation for non-existing feature "stack-limit". 2015-06-09 23:13:15 +02:00
i3-save-tree Update "mark" to "marks" in i3-save-tree. (#2308) 2016-04-23 12:43:23 +01:00
i3-sensible-editor Added Neovim to i3-sensible-editor 2016-02-01 01:18:41 +00:00
i3-sensible-pager Quote the variables in i3-sensible-* correctly 2015-11-30 21:36:23 +00:00
i3-sensible-terminal Add uxterm to terminal list (#2397) 2016-07-19 19:28:42 +01:00
i3-with-shmlog.xsession.desktop *.xsession.desktop: add Keywords= 2016-04-01 15:57:41 +02:00
i3.applications.desktop Make i3.applications.desktop file more complete 2016-03-09 10:27:04 +01:00
i3.config Revert "Add 'tray_output primary' to the default config" 2016-02-21 14:12:02 +01:00
i3.config.keycodes Revert "Add 'tray_output primary' to the default config" 2016-02-21 14:12:02 +01:00
i3.xsession.desktop *.xsession.desktop: add Keywords= 2016-04-01 15:57:41 +02:00
logo.svg s/i3.zekjur.net/i3wm.org/g 2011-08-28 17:44:42 +02:00
pseudo-doc.doxygen s/i3.zekjur.net/i3wm.org/g 2011-08-28 17:44:42 +02:00
release.sh auto-creating (I3_)VERSION for each release and post-release version files 2016-04-07 19:12:21 +02:00