Commit Briefs

Omar Polo

use strcasestr(3) unconditionally



Omar Polo

make xinerama and xft mandatory


Omar Polo

check pledge return value


Omar Polo

rewrite readlines

use getline instead of rolling a custom version; swap the argument and return type to avoid being a "three star" programmer. Then, gargabe collect the now unused read_stdin, STDIN_CHUNKS and LINES_CHUNK.


Omar Polo

don't pledge early

breaks fontconfig that needs wpath now...


Omar Polo

typo in flags handling (tags/v1.0)

the -S (highlighted completion background) was saved as -s (highlighted completion foreground color)


Omar Polo

-1 on x and y to prevent other windows to grab the focus

With the new mx/my I noticed that sometimes the window behind mymenu re-grab the keybard. Making sure that the mouse is inside the window seems to work.


Omar Polo

Clicking on the prompt closes mymenu

added this behaviour and documentation


Omar Polo

fmt (again)

I'm playing a bit with clang-format(1). Not happy with the result yet, but some section are now legible, before were a mess 'cause it folded every line


Omar Polo

mx & my to mouse-align mymenu

Added the mx and my "special" values for MyMenu.x and MyMenu.y resources. These special values makes mymenu spawn under the mouse, like a contestual menu.


Omar Polo

corrected comment



Omar Polo

Improved mouse support

Clicking with Button1 select the item, Button3 is like C-m. Mentioned in the manpage also the undocumented scroll function. Mentioned the caveat that clicking past the last item is equivalent to clicking the last item.


Omar Polo

removed check_allocation macro and possibly fixed a bug

1. remove the check_allocation macro (it was replaced with the idiom if ((x = ...) == NULL) err(1, "fn"); using the err(3) function instead of custom error-reporting. 2. added a break that was missing in the args parse