Commit Graph

290 Commits

Author SHA1 Message Date
Jan Staněk
11b9187a68
Install man pages to expected location 2019-08-07 14:50:18 +02:00
Jan Staněk
29692e5fd0
Write man page for bemenu 2019-08-07 14:33:28 +02:00
Jari Vetoniemi
c6eda7f42b
Merge pull request #61 from sauyon/master
Add C-g shortcut to x11 and wayland
2019-07-15 09:52:44 +03:00
Sauyon Lee
c081cf7609
Add C-g shortcut to x11 and wayland 2019-07-13 00:46:18 +01:00
Jari Vetoniemi
f464f0e30a
Merge pull request #60 from toke/bugfix/upstream-59
Prevent a deadloop in PATH handling
2019-06-05 18:15:42 +03:00
Thomas Kerpe
5d787629a5 Prevent a deadloop in PATH handling
Empty PATH segments should no longer cause
a deadloop.

Fixes #59
2019-06-05 15:59:16 +02:00
Jari Vetoniemi
572470ef8c
Merge pull request #57 from alyssais/line-height
bemenu: add --line-height / -H option
2019-06-01 22:09:52 +03:00
Jari Vetoniemi
dac040f659
Merge pull request #58 from alyssais/gitignore
gitignore: add missing generated files
2019-06-01 22:07:48 +03:00
Alyssa Ross
93cde4831b
bemenu: add --line-height / -H option
Text is displayed vertically centered in a line. If unspecified, or 0,
the previous behaviour of making the height the size of the text, plus
two pixels on either side, is used, so there will be no change in
behaviour if this option is not used.

Fixes https://github.com/Cloudef/bemenu/issues/44.
2019-05-31 23:20:54 +00:00
Alyssa Ross
b2cad5685e
gitignore: add missing generated files 2019-05-31 20:38:09 +00:00
Jari Vetoniemi
121367b940
Merge pull request #56 from samihda/master
Fix typo
2019-05-05 15:50:15 +03:00
samihda
5f01531482 Fix typo 2019-05-03 17:36:21 +02:00
Jari Vetoniemi
f27e35eabc Revert "Use x_LINK_LIBRARIES instead of x_LIBRARIES"
This reverts commit 620ae69020.
2019-04-24 22:39:23 +03:00
Jari Vetoniemi
6cc18e381c
Merge pull request #52 from t6/patch-freebsd
FreeBSD support
2019-04-24 02:44:38 +03:00
Tobias Kortkamp
620ae69020
Use x_LINK_LIBRARIES instead of x_LIBRARIES
The libraries might not be in the linkers default search path, so
use absolute paths for them instead when using TARGET_LINK_LIBRARIES.

Note that XKBCOMMON_LIBRARIES is an alias for XKBCOMMON_LIBRARY and
already contains an absolute path.

Signed-off-by: Tobias Kortkamp <t@tobik.me>
2019-04-23 12:17:16 +02:00
Tobias Kortkamp
2ca0625a70
Depend on epoll-shim on FreeBSD/DragonFly
They do not natively support epoll(2) but require a library shim for it.

Signed-off-by: Tobias Kortkamp <t@tobik.me>
2019-04-23 11:45:13 +02:00
Tobias Kortkamp
312a606d54
Use epoll_create1() instead of epoll_create()
epoll_create() takes a size argument not a flag like EPOLL_CLOEXEC [1].

[1] https://linux.die.net/man/2/epoll_create

Signed-off-by: Tobias Kortkamp <t@tobik.me>
2019-04-23 11:41:03 +02:00
Jari Vetoniemi
8ad07cff11
Merge pull request #49 from ammen99/fix-cmake
x11: add pango as dependency of the x11 renderer
2019-03-26 00:07:26 +02:00
Ilia Bozhinov
31107243db x11: add pango as dependency of the x11 renderer
We include the cairo rendering functions, which use pango.
2019-03-25 23:05:35 +01:00
Ilia Bozhinov
38069992ec Add option to respect panel position (#48)
* implement option to make menu respect panel boundaries

* fixup! implement option to make menu respect panel boundaries
2019-03-25 23:21:17 +02:00
Jari Vetoniemi
b375ef8b0b
Merge pull request #46 from DanySpin97/master
Add options for renderers, make deps required
2019-03-25 10:52:24 +02:00
Danilo Spinella
5ca32626dc Add options for renderers, make deps required 2019-03-25 09:44:45 +01:00
Jari Vetoniemi
1be74a290f
Merge pull request #47 from ammen99/master
wayland: implement a proper repaint cycle
2019-03-25 07:59:16 +02:00
Ilia Bozhinov
ab82afab7f wayland: implement a proper repaint cycle 2019-03-24 20:18:59 +01:00
Jari Vetoniemi
33e540a2b0 CMake: Set version to 0.1.0 2019-03-03 20:46:30 +02:00
Jari Vetoniemi
72a38a7891 CMake: project arguments are separated by space 2019-02-16 13:36:30 +02:00
Jari Vetoniemi
427a3abcda
Merge pull request #39 from concatime/master
Restrict CMake to only C
2019-02-16 13:31:59 +02:00
Issam Maghni
a46ff50e41 Restrict CMake to only C 2019-02-16 01:30:53 -05:00
Jari Vetoniemi
799d8b9d1d
Merge pull request #36 from ppascher/ppascher-patch-1
Fix wayland renderer lagging behind by 1 keystroke
2019-01-31 09:51:56 +02:00
Jari Vetoniemi
fbd4c985dd
Merge pull request #37 from v44r/vertical_align
Fix vertical alignment of text.
2019-01-29 21:45:21 +02:00
v44r
3916772cec Fix baseline when mixing ASCII and CJK characters 2019-01-29 19:30:45 +01:00
v44r
d3c43973c8 Limit line height to that of ASCII chars 2019-01-29 18:16:37 +01:00
v44r
6e34c3a923 Fix extra space below last item in vertical mode. 2019-01-28 14:53:16 +01:00
v44r
83a32e9b4c Fix vertical alignment of text. 2019-01-28 13:14:44 +01:00
ppascher
ddc95d7b64
Fix wayland renderer lagging behind by 1 keystroke
When using the wayland renderer the entries according to the second to last keystroke where displayed while the actual selected entry matched the last keystroke.
This removes skipping the buffer change in bm_wl_window_render if window->frame_cb is not NULL.
2018-11-07 19:59:58 +01:00
Earnestly
b84ce02c7e Fix overlapping when items have large glyphs 2018-10-31 19:53:01 +02:00
Jari Vetoniemi
5ecb570857
Merge pull request #33 from martinetd/wayland
More wayland fixes
2018-04-29 19:51:57 +03:00
Dominique Martinet
67c3c04acb client: update help (--bottom available for wayland) 2018-04-29 20:50:56 +09:00
Dominique Martinet
3ae6ad7c48 wayland renderer: remove useless wl_surface_damage call
window->height is 0 at this point anyway...
2018-04-29 20:50:56 +09:00
Dominique Martinet
992e5add42 wayland renderer: Implement grab_keyboard
This avoids locking oneself out when running bemenu interactively,
as input would be grabbed too early without that and layer shell
does not allow to 'ungrab' focus by clicking on another window
2018-04-29 20:50:55 +09:00
Dominique Martinet
610b30364e wayland renderer: Fix bottom positioning
- reset size when it changes, so there is no blank below text
 - ignore exclude zone to overlap bar regardless of rendering order
2018-04-29 20:50:04 +09:00
Jari Vetoniemi
f7bb9f953d
Merge pull request #32 from martinetd/wayland_bottom
Wayland renderer: implement bottom option
2018-04-16 12:30:31 +03:00
Dominique Martinet
86f6e57bfe wayland renderer: fix indentation 2018-04-16 17:53:42 +09:00
Dominique Martinet
91bf9b4d14 wayland renderer: implement bottom 2018-04-16 17:53:11 +09:00
Jari Vetoniemi
b735a4842c
Merge pull request #31 from SirCmpwn/layer-shell
Port to wlroots layer shell
2018-04-08 18:19:40 +03:00
Drew DeVault
17aa5e21bf Port to wlroots layer shell 2018-04-08 11:05:52 -04:00
Drew DeVault
81e851369a Add .editorconfig 2018-04-08 11:05:52 -04:00
Jari Vetoniemi
d6261274cf bemenu: Add --ifne option 2017-02-14 21:53:15 +02:00
Jari Vetoniemi
5d4b35ec68 bemenu-run: Use bemenu-run default title 2017-02-14 21:52:57 +02:00
Jari Vetoniemi
944989c094 bemenu: Remove unneccessary initializers 2017-02-14 21:52:28 +02:00