- May 20, 2021
-
-
Jari Vetoniemi authored
- May 07, 2021
-
-
Jari Vetoniemi authored
-
Jari Vetoniemi authored
-
Jari Vetoniemi authored
-
Jari Vetoniemi authored
The documented canonical include for cairo is #include <cairo.h>
-
- Apr 27, 2021
-
-
Sören Tempel authored
-
Sören Tempel authored
This ensures that the menu spawns on the current monitor by default when using X11 or on all monitors when using Wayland.
-
Sören Tempel authored
With dmenu, monitor indices start at 0 and a value of -1 (the default) is used to spawn dmenu on the current monitor. While bemenu strives to be compatible with dmenu, bemenu monitor indices previously started at 1 and a value of 0 (the default) was used to spawn on the current monitor. This commit aligns the behaviour of bemenu's x11 backend with dmenu. For this purposes, the affected code in the x11 backend is synced with the current dmenu implementation. While doing so the monitor type has also been switched from a uint32_t to a int32_t.
-
- Apr 26, 2021
-
-
Thomas Weißschuh authored
See #168
-
- Apr 04, 2021
-
-
Sören Tempel authored
The previous version of this code operated under the assumption that getline(3) lines are always \n\0 terminated. Unfortunately, this is not the case as readline will return input which is not terminated with a newline character if EOF is reached before encountering this newline. In these cases, the code would falsely strip the last character. As an example, consider the following bemenu invocation: printf foo | ./bemenu This would start bemenu with `fo` instead of `foo` as a menu item. This commit fixes this edge case and also hardens the loop body a bit by only entering it if getline wrote more than zero characters to the buffer.
-
Sören Tempel authored
Not sure why the code didn't use this function previously, but getline(3) is mandatory since POSIX.1-2008 and should thus be supported by all maintstream operating systems. The proposed changes make the code easier to read and should also make it more efficient memory-wise as it does not necessarily cause the entire input to be copied into memory at once.
-
- Apr 01, 2021
-
-
Stephen Gregoratto authored
- Much of the existing text was reworded for better understandability. - The new manpage uses mdoc(7) for better formatting. Because of this, we can merge bemenu and bemenu-run into a single file.
-
- Mar 29, 2021
-
-
Kian Kasad authored
-
- Feb 05, 2021
-
-
Harley Swick authored
-
Robert Günzler authored
* support hiding filter input "password mode" Signed-off-by:
Robert Günzler <r@gnzler.io>
-
- Dec 13, 2020
-
-
Peter Colberg authored
The function was declared in bemenu.h but defined using a different name.
-
Peter Colberg authored
This is an internal function that should not be exported from the library.
-
Peter Colberg authored
When using a compiler with support for GNU C extensions (GCC, Clang), explicitly mark functions shared across library boundaries as visible. This is the default visibility and has no effect when compiling with the default CFLAGS. When compiling with -fvisibility=hidden, however, this exports only functions marked BM_PUBLIC and hides all others. https://gcc.gnu.org/wiki/Visibility This facilitates packaging for distributions that track shared library symbols, e.g., Debian, which uses a symbol file to provide the minimal version associated to each symbol exported by a library. https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#the-symbols-system https://manpages.debian.org/unstable/dpkg-dev/dpkg-gensymbols.1.en.html
-
- Nov 15, 2020
-
-
Julian Mehne authored
-
- Oct 17, 2020
-
-
fancycade authored
-
- Oct 10, 2020
-
-
fancycade authored
-
- Aug 28, 2020
-
-
Jari Vetoniemi authored
Sanity this in future against git tag.
-
Dominic Monroe authored
-
- Aug 23, 2020
-
-
Peter Colberg authored
-
- Jun 28, 2020
-
-
Jari Vetoniemi authored
Allows overriding the scaling factor for bemenu
-
Jari Vetoniemi authored
-
Jari Vetoniemi authored
-
- Jun 15, 2020
-
-
Daniel Lublin authored
Useful in aliases or scripts to override a previously enabled scrollbar on the commandline. Also correct documentation of bm_scrollbar_mode.
-
- May 08, 2020
-
-
Jari Vetoniemi authored
If there are no matches the left indicator would be still drawn as black box. If filter string is long enough, this black box would cover part of the filter string.
-
- May 07, 2020
-
-
Jari Vetoniemi authored
also use cp / mkdir for compatibility
-
Jari Vetoniemi authored
-
Jari Vetoniemi authored
-
Ivy Foster authored
This eases split packaging as suggested in https://github.com/Cloudef/bemenu/issues/79#issuecomment-572867783
-
- Apr 19, 2020
-
-
Tuomas Siipola authored
-
Tuomas Siipola authored
`pango_layout_index_to_pos` expects byte index
-
- Apr 13, 2020
-
-
Jari Vetoniemi authored
- Mar 25, 2020
-
- Mar 19, 2020
-
-
Cole Helbling authored
-