<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suckless/dwm, branch bong</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.tilde.institute/acidbong/suckless/dwm/atom?h=bong</id>
<link rel='self' href='https://git.tilde.institute/acidbong/suckless/dwm/atom?h=bong'/>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/'/>
<updated>2023-02-03T18:28:54Z</updated>
<entry>
<title>keys: st-xterm compat</title>
<updated>2023-02-03T18:28:54Z</updated>
<author>
<name>Acid Bong</name>
<email>acid-bong@cock.lt</email>
</author>
<published>2023-02-03T18:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=42f2c249343e5fbc200c8804c1a4b16859463cdf'/>
<id>urn:sha1:42f2c249343e5fbc200c8804c1a4b16859463cdf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keys: no longer using weechat</title>
<updated>2023-02-03T18:25:46Z</updated>
<author>
<name>Acid Bong</name>
<email>acid-bong@cock.lt</email>
</author>
<published>2023-02-03T18:25:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=99e752c8b7b924dbbee53ac02eedae13d7fe8004'/>
<id>urn:sha1:99e752c8b7b924dbbee53ac02eedae13d7fe8004</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rules: floating keepass and gajim</title>
<updated>2023-02-03T13:17:24Z</updated>
<author>
<name>Acid Bong</name>
<email>acid-bong@cock.lt</email>
</author>
<published>2023-01-30T13:21:07Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=7c9230c614195cdb2290de0e4f995bddfde14afe'/>
<id>urn:sha1:7c9230c614195cdb2290de0e4f995bddfde14afe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dmenumon fix</title>
<updated>2023-01-25T14:43:40Z</updated>
<author>
<name>Acid Bong</name>
<email>acid-bong@cock.lt</email>
</author>
<published>2023-01-25T14:43:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=492ef2f9781e6d83c3e1aec9536301e00f49ce7d'/>
<id>urn:sha1:492ef2f9781e6d83c3e1aec9536301e00f49ce7d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' into bong</title>
<updated>2022-12-29T19:44:24Z</updated>
<author>
<name>Acid Bong</name>
<email>acid-bong@cock.lt</email>
</author>
<published>2022-12-28T16:49:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=896b6c49aad3e351f528fcbf9c141473ff5cf264'/>
<id>urn:sha1:896b6c49aad3e351f528fcbf9c141473ff5cf264</id>
<content type='text'>
</content>
</entry>
<entry>
<title>personal swallow patch</title>
<updated>2022-12-15T18:38:13Z</updated>
<author>
<name>Acid Bong</name>
<email>acid-bong@cock.lt</email>
</author>
<published>2022-12-15T18:38:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=a3ef99f743e79604e0e0b2f7bab38e3cea4dc091'/>
<id>urn:sha1:a3ef99f743e79604e0e0b2f7bab38e3cea4dc091</id>
<content type='text'>
</content>
</entry>
<entry>
<title>patch: swallow</title>
<updated>2022-12-15T18:35:30Z</updated>
<author>
<name>Acid Bong</name>
<email>acid-bong@cock.lt</email>
</author>
<published>2022-12-15T18:34:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=e16d6382e8b70cab748285db7b558afe9abd68d4'/>
<id>urn:sha1:e16d6382e8b70cab748285db7b558afe9abd68d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keys: no gopher, one less key for btop (new one, i guess)</title>
<updated>2022-12-14T16:21:29Z</updated>
<author>
<name>Acid Bong</name>
<email>acid-bong@cock.lt</email>
</author>
<published>2022-12-11T12:27:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=ad1b949e96e23c87368ea9192e248d48c41bf7df'/>
<id>urn:sha1:ad1b949e96e23c87368ea9192e248d48c41bf7df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keys: no gopher, one less key for btop</title>
<updated>2022-12-12T17:09:52Z</updated>
<author>
<name>Acid Bong</name>
<email>acid-bong@cock.lt</email>
</author>
<published>2022-12-11T12:27:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=f4ce47e36137e46fc6436086fc10ad89678d5d08'/>
<id>urn:sha1:f4ce47e36137e46fc6436086fc10ad89678d5d08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>grabkeys: Avoid missing events when a keysym maps to multiple keycodes</title>
<updated>2022-12-07T22:06:26Z</updated>
<author>
<name>Chris Down</name>
<email>chris@chrisdown.name</email>
</author>
<published>2022-12-07T14:55:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/acidbong/suckless/dwm/commit/?id=89f9905714c1c1b2e8b09986dfbeca15b68d8af8'/>
<id>urn:sha1:89f9905714c1c1b2e8b09986dfbeca15b68d8af8</id>
<content type='text'>
It's not uncommon for one keysym to map to multiple keycodes. For
example, the "play" button on my keyboard sends keycode 172, but my
bluetooth headphones send keycode 208, both of which map back to
XF86AudioPlay:

    % xmodmap -pke | grep XF86AudioPlay
    keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
    keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay
    keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay

This is a problem because the current code only grabs a single one of
these keycodes, which means that events for any other keycode also
mapping to the bound keysym will not be handled by dwm. In my case, this
means that binding XF86AudioPlay does the right thing and correctly
handles my keyboard's keys, but does nothing on my headphones. I'm not
the only person affected by this, there are other reports[0].

In order to fix this, we look at the mappings between keycodes and
keysyms at grabkeys() time and pick out all matching keycodes rather
than just the first one. The keypress() side of this doesn't need any
changes because the keycode gets converted back to a canonical keysym
before any action is taken.

0: https://github.com/cdown/dwm/issues/11
</content>
</entry>
</feed>
