Commit Briefs

308fe78b83 Hiltjo Posthuma

bump version to 5.1 (tags/5.1)


c4b656e0da Hiltjo Posthuma

code-style: rm newline (oops)


3e39c526d2 Hiltjo Posthuma

revert using strcasestr and use a more optimized portable version

... compared to the old cistrstr(). Thanks for the feedback!



eb96af27f4 Hiltjo Posthuma

improve performance of case-insensitive matching


d78ff08d99 Hiltjo Posthuma

Revert "Improve speed of drw_text when provided with large strings"

This reverts commit c585e8e498ec6f9c423ab8ea07cf853ee5b05fbe. It causes issues with truncation of characters when the text does not fit and so on. The patch should be reworked and properly tested.


cd2133a5f6 Hiltjo Posthuma

add support for more keypad keys

The keypad Enter key was already supported. On some keyboard layouts like my laptop the page-up and page-down key is more comfortable to use. This adds a few lines but no complexity.


c585e8e498 Hiltjo Posthuma

Improve speed of drw_text when provided with large strings

Calculates len & ew in drw_font_getexts loop by incrementing instead of decrementing; as such avoids proportional increase in time spent in loop based on provided strings size.


523aa08f51 Hiltjo Posthuma

remove always true condition in if statement


1a13d0465d Hiltjo Posthuma

bump version to 5.0 (tags/5.0)

... and bump LICENSE year.


9b38fda6fe Hiltjo Posthuma

Fix memory leaks in drw

Synced from dwm. Patch by Alex Flierl <shad0w73@freenet.de>, thanks.


db6093f6ec Hiltjo Posthuma

revert IME support

dmenu will not handle IME support (st will, atleast for now). revert parts of commit 377bd37e212b1ec4c03a481245603c6560d0be22 this commit also broke input focus.


a9b1de384a Hiltjo Posthuma

improve xopenim error message

die() already prints a newline.


43b0c2c3dd Hiltjo Posthuma

make dmenu_path script executable

(as dmenu_run is)


f5036b90ef Hiltjo Posthuma

fix crash when XOpenIM returns NULL

for example when IME variables are set, but the program is not started (yet).


153aaf88bf Hiltjo Posthuma

Close when the embedding window is destroyed


65be875f5a Anselm R Garbe

Prepared 4.9 release. (tags/4.9)



11a65377da Hiltjo Posthuma

Use slow path if stdin is a tty

If stdin is a tty and dmenu is ran with the fast option then it's impossible to close stdin because the keyboard is already grabbed.


bbc464dc80 Hiltjo Posthuma

dmenu_path: always use the cachedir


a314412f4b Hiltjo Posthuma

Makefile: just show the compiler output

Don't be fancy and just show the actual output so debugging is simpler.


a9eae39e93 Hiltjo Posthuma

Do not strip at link stage

Building with debug symbols is worthless unless LDFLAGS are manually adjusted as well.


851b73d178 Hiltjo Posthuma

code-style for pledge: check the return code -1, not < 0

this is the proper idiom


05c138f5b8 Hiltjo Posthuma

code-style for pledge(2)

feedback from Klemens, thanks


cd132c8d5b Hiltjo Posthuma

Pledge on OpenBSD