Commit Briefs

2707e84419 Andre Mazzotti Bertachini

Bottom bar (mztbc)


8b48986f4c Hiltjo Posthuma

drw.c: drw_scm_free: call free inside (master)

Because drw_scm_create() allocates it.


77f96d704b Hiltjo Posthuma

cleanup schemes and colors


d893c63cdd Hiltjo Posthuma

bump version to 5.4 (tags/5.4)


b1e217b29a Hiltjo Posthuma

XUngrabKeyboard() instead of XUngrabKey()

XUngrabKey(), which is currently used in cleanup(), is not the right counterpart to XGrabKeyboard(), which is used in grabkeyboard(), called from main(). XUngrabKeyboard() is the function to use, as grabbing the whole keyboard is different to grabbing individual keys. With the current code the keyboard gets ungrabbed, as far as I can tell, only by the final XCloseDisplay() in cleanup(), as the XUngrabKey() there effectively does nothing.


86f0b5119e Hiltjo Posthuma

remove extra newline


dd3d348ae8 Hiltjo Posthuma

Avoid unsigned integer underflow in drw_text()

Patch by Raymond Cole <rc@wolog.xyz>, thanks.


545031a076 Hiltjo Posthuma

util.c: output function might override errno and thus affect perror()

Original patch by Raymond Cole with some modifications, thanks!



59936c7d97 Hiltjo Posthuma

render invalid utf8 sequences as U+FFFD

previously drw_text would do the width calculations as if invalid utf8 sequences were replaced with U+FFFD but would pass the invalid utf8 sequence to xft to render where xft would just cut it off at the first invalid byte. this change makes invalid utf8 render as U+FFFD and avoids sending invalid sequences to xft. the following can be used to check the behavior before and after the patch: $ printf "0\xef1234567\ntest" | dmenu Ref: https://lists.suckless.org/dev/2407/35646.html


Branches

Tags

Tree

.gitignorecommits | blame
LICENSEcommits | blame
Makefilecommits | blame
READMEcommits | blame
arg.hcommits | blame
config.def.hcommits | blame
config.hcommits | blame
config.mkcommits | blame
dmenu.1commits | blame
dmenu.ccommits | blame
dmenu_path*commits | blame
dmenu_run*commits | blame
drw.ccommits | blame
drw.hcommits | blame
stest.1commits | blame
stest.ccommits | blame
util.ccommits | blame
util.hcommits | blame

README

dmenu - dynamic menu
====================
dmenu is an efficient dynamic menu for X.


Requirements
------------
In order to build dmenu you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (dmenu is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install dmenu
(if necessary as root):

    make clean install


Running dmenu
-------------
See the man page for details.