Commits


arg.h: remove unused ARGNUM* macros


unboolify dmenu


Makefile: package config.def.h on make dist


remove .hgtags file


dmenu.1: clarify monitor numbers are starting from 0 (first mon)


fix: multimon: always spawn client on first monitor if specified with -m 0 This was always broken. Reproduce: focus client on second monitor, spawn dmenu with -m 0. Result: Old wrong behaviour: dmenu spawns on second monitor (focused client). Now: dmenu spawns on specified monitor (first).


drw: cleanup drw_text, prevent gcc warning false-positive of unused var ... we don't allow passing text is NULL anymore either, for that behaviour just use drw_rect() (it is used in dwm).


drw: simplify drw_font_xcreate and prevent a potential unneeded allocation


drw: a valid (non-NULL) Drw and Fnt context must be passed don't do these checks on this level. However for resource drw_*_free we will allow it.


add sbase-style ecalloc(), calloc: or die ... remove intermediary variables


free schemes as array this makes it slightly easier to add custom schemes aswell


fix input text matching just compare the size of the input string


fix incorrect ordering of match results look for exact matches comparing the user input against the item text


fix paste from clipboard (ctrl+shift+y) from Joshua Lloret on the ML: "attached is a small patch to enable pasting from clipboard, as well as primary. It seems like there was already code in there to allow this, but since there was never any case to match the upper case 'Y', that inline if would always evaluate to false."


minor style fix


Remove function prototypes and reorder functions accordingly


Untypedef struct item Adds clarity. Typedefs for structs are definitely a discussion matter, but there's no reason to hide a simple data-structure behind a meaningless typedef.


Fix the conversion from microseconds to nanoseconds


Replace deprecated usleep() with nanosleep()


config.mk: use -std=c99


dmenu: style improvements - move main to bottom, usage above main. - dont use variable names with function prototypes. - space before if, for, while, etc: 'if(' -> 'if ('. this makes the code-style more consistent


drw style improvements this makes the code-style more consistent aswell.


separate program-specific c99 bool and X11 True, False are X11-specific, make sure to use c99 stdbool for program-specific things. ... also remove left-over vim mode string in config.


config.mk: fix _XOPEN_SOURCE=700 for getline()


config.mk: improve feature test check this fixes a crash on NetBSD because it requires -D_XOPEN_SOURCE (strdup, usleep). thanks k0ga and stateless for reporting and fixing this issue!