[xmonad] Issue 488 in xmonad: new dmenu version breaks xmonad-contrib wrapper
codesite-noreply at google.com
codesite-noreply at google.com
Mon Dec 19 03:51:58 CET 2011
Status: New
Owner: ----
New issue 488 by Longp... at gmail.com: new dmenu version breaks
xmonad-contrib wrapper
http://code.google.com/p/xmonad/issues/detail?id=488
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
title: new dmenu version breaks xmonad-contrib wrapper
dmenu-4.4.1 appends a newline to the outputted string representing the
selected item, breaking xmonad-contrib's dmenu wrapper, which expects no
newline. I've attached a patch to fix this. It's backwards compatible with
old versions of dmenu. I've only tested it directly with ``dmenuMap``.
What steps will reproduce the problem?
1. run code: ``dmenuMap $ M.fromList
[("k_x","v_x"),("k_y","v_y"),("k_z","v_z")]``
2. choose "k_x" in the menu bar that pops up
What is the expected output? What do you see instead?
Return value should be ``Just "v_x"``. Actual value is ``Nothing``.
What version of the product are you using? On what operating system?
reproduced on xmonad-contrib-0.10 and xmonad-contrib-0.9 with dmenu-4.4.1,
worked with dmenu-4.2.1. Gentoo Linux
Signature for attached file (xmonad-contrib-0.10-trim-dmenu-newline.patch):
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
iEYEABECAAYFAk7upSQACgkQ3PGpByoQpZF0ZQCePDS+cf+yH5XE3HhQoj3s70S5
hhcAoJZZntuNYbYzR7oQp6BtEuRcQnNP
=Awzc
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
iEYEARECAAYFAk7upeYACgkQ3PGpByoQpZHsKQCaA990E4xVGmzlvOuPo1mgOaY8
vnkAnRj49CsrdEQg0MaMd3k/q1ZF4xF6
=dgAy
-----END PGP SIGNATURE-----
Attachments:
xmonad-contrib-0.10-trim-dmenu-newline.patch 745 bytes
More information about the xmonad
mailing list