Guile Really-Improved 3 Window Manager Fork of i3-wm with guile configuration
Go to file
Steven McDonald 1ab76fb05a Fix key bindings on big-endian platforms
input_code is a uint16_t, but xcb_keycode_t is uint8_t, meaning that
only the first byte of input_code is inspected by memmem. On
little-endian platforms, this code would have worked by accident, since
the first byte of input_code represents the 8 least significant bits.
However, on big-endian platforms the first byte is the 8 most
significant bits, which means memmem is scanning bind->translated_to
for the wrong keycode (probably 0).

In order to work correctly on big-endian and little-endian platforms,
simply typecast input_code to an xcb_keycode_t and pass that to memmem.

The observed behaviour associated with this bug is that key bindings
don't work at all. This patch has been tested on an iBook G4 running
OpenBSD -current, and key bindings work properly with this fix applied.
2015-03-01 21:07:03 +11:00
contrib contrib: add per-workspace-layout.pl 2014-01-26 16:51:32 +01:00
debian debian: update changelog 2015-02-28 15:04:28 +01:00
docs Docs: add hint to use xvfb-run 2015-02-21 16:36:24 -05:00
i3-config-wizard Switch to xcb-xkb and libxkbcommon 2014-06-21 19:10:37 +02:00
i3-dump-log format **/*.c with clang-format-3.5 2014-06-15 19:07:02 +02:00
i3-input clang-format-3.5 **/*.h **/*.c 2014-06-19 11:20:32 +02:00
i3-msg format **/*.c with clang-format-3.5 2014-06-15 19:07:02 +02:00
i3-nagbar clang-format-3.5 **/*.h **/*.c 2014-06-19 11:20:32 +02:00
i3bar i3bar: use Pango markup 2015-02-12 14:45:34 -05:00
include i3bar: use Pango markup 2015-02-12 14:45:34 -05:00
libi3 i3bar: use Pango markup 2015-02-12 14:45:34 -05:00
man release i3 v4.9 2015-02-28 14:51:33 +01:00
parser-specs Merge branch 'master' into next 2015-01-31 22:56:08 +01:00
src Fix key bindings on big-endian platforms 2015-03-01 21:07:03 +11:00
testcases Merge branch 'master' into next 2015-01-31 22:56:08 +01:00
tests clang-format-3.5 **/*.h **/*.c 2014-06-19 11:20:32 +02:00
.clang-format clang-format: don’t define ForeachMacros 2014-06-19 11:17:46 +02:00
.gitignore ignore symbol files on OS X (only for debugging, breaks git-add -A) 2013-11-26 19:56:59 +01:00
CONTRIBUTING.md CONTRIBUTING: document people should use the `next` branch 2015-02-12 08:59:33 +01:00
DEPENDS make AnyEvent::I3 dependency versioned (Thanks sur5r) 2014-08-05 11:49:16 +02:00
LICENSE remove obsolete CMDMODE and TODO files, update LICENSE 2011-10-08 15:18:04 +01:00
Makefile fix “make dist” target 2014-05-04 23:07:53 +02:00
PACKAGE-MAINTAINER Introduce the i3-sensible-{pager,editor,terminal} scripts 2011-09-25 18:46:37 +01:00
RELEASE-NOTES-4.9 release i3 v4.9 2015-02-28 14:51:33 +01:00
common.mk Switch to xcb-xkb and libxkbcommon 2014-06-21 19:10:37 +02:00
generate-command-parser.pl Change the names of parser result structs 2014-05-20 19:59:01 +02:00
i3-dmenu-desktop Bugfix: i3-dmenu-desktop: quote path (Thanks nikolaus) 2014-07-11 09:51:05 +02:00
i3-migrate-config-to-v4 i3-migrate-config-to-v4: use layout toggle split (Thanks eeemsi) 2012-08-04 12:46:37 +02:00
i3-save-tree Add 'mark' as allowed key to i3-save-tree output 2015-01-25 19:37:25 +01:00
i3-sensible-editor Use command -v (built-in) instead of which(1) (Thanks val) 2014-10-23 23:05:01 +02:00
i3-sensible-pager Use command -v (built-in) instead of which(1) (Thanks val) 2014-10-23 23:05:01 +02:00
i3-sensible-terminal Add lxterminal to i3-sensible-terminal 2015-01-25 19:37:16 +01:00
i3-with-shmlog.xsession.desktop enable shmlog when invoked as i3-with-shmlog, install symlink + .desktop file 2014-01-04 12:18:45 +01:00
i3.applications.desktop Add 'NoDisplay=true' to i3.application.desktop 2013-06-12 19:47:57 +02:00
i3.config Extend the fullscreen command 2014-12-10 20:42:52 +01:00
i3.config.keycodes Extend the fullscreen command 2014-12-10 20:42:52 +01:00
i3.xsession.desktop set DesktopNames (which gdm uses) (Thanks Yves-Alexis) 2014-10-23 23:18:15 +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