Commit Graph

262 Commits

Author SHA1 Message Date
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
Jari Vetoniemi
8cfa530b89 bemenu: Reuse code more 2017-02-14 21:51:02 +02:00
Jari Vetoniemi
0ff5f20178 bemenu: const correctness 2017-02-14 21:50:15 +02:00
Jari Vetoniemi
8c93e0081b bemenu: Disable early grab on -f for now
We can't handle input yet during read because renderers are very dumb.
Thus -f can potentially lock your system with grab.
2017-02-14 21:29:27 +02:00
Jari Vetoniemi
7b8b38bc21 bemenu: Do not eat newlines 2017-02-14 19:20:44 +02:00
Jari Vetoniemi
208af51c0e clients: Make -f option show menu immediately 2017-02-14 19:20:44 +02:00
Jari Vetoniemi
91d929ecf4 curses: Refresh before endwin 2017-02-14 19:20:44 +02:00
Jari Vetoniemi
ebea91902d Fix gcc warnings 2017-02-14 19:20:44 +02:00
Jari Vetoniemi
f1019bb500 Set default font to Fixed 2017-02-14 19:20:44 +02:00
Jari Vetoniemi
81f58f4c25 Merge pull request #30 from upwhere/docs-patch
reference bm_scrollbar_mode in documentation
2016-12-06 20:34:53 +02:00
Jari Vetoniemi
01be868def Merge pull request #29 from upwhere/CtrlM
Add C-m -> Return bind
2016-12-06 20:34:19 +02:00
uphere
cb6030f64b Add C-m -> Return bind
C-m is often bound to return and it's jarring to have all the
other keybinds but not this one
2016-12-05 16:35:29 +00:00
Jari Vetoniemi
10fcb9cbf8 Merge pull request #28 from upwhere/patch-1
Remove double slash from os anonymous file
2016-12-03 15:32:09 +02:00
up here
9530c21be1 reference correct enum in documentation
The `bm_scrollbar_mode` constants linked to the `bm_run_result` enum in their doc comments.
2016-12-03 12:17:47 +00:00
up here
0f912c93b0 Remove double slash from os anonymous file
the anonymous file path is created from
- the XDG_RUNTIME path (with optional slash at the end)
- a slash if the XDG_RUNTIME path didn't have one
- and the tmpfile template (which starts with a slash).
This guarantees there are always two slashes before the filename.
It does not affect the behaviour of the program, but I've removed it anyway.
2016-12-01 11:21:09 +00:00
Jari Vetoniemi
6b951600aa wayland: Bind interfaces correctly
seat was binded with XDG_SHELL_VERSION_CURRENT constant that makes no
sense.

Use this constant in use_unstable_version call instead, and bind to the
implemented versions.
2016-04-12 18:01:05 +03:00
Jari Vetoniemi
4d521519ca Merge pull request #24 from mikkeloscar/follow-dtd
Make protocol specifications follow the DTD
2016-03-18 13:41:23 +02:00
Mikkel Oscar Lyderik
c1a0974849 Update xdg-shell.xml from wayland-protocols
Updates xdg-shell.xml to version 5.
2016-03-18 12:39:25 +01:00
Jari Vetoniemi
c3abc43860 curses: Use set_escdelay when available 2015-09-23 18:56:34 +03:00
Jari Vetoniemi
c4a553796f CMake: Use absolute libdir instead 2015-09-23 18:52:59 +03:00
Jari Vetoniemi
f25a4146e1 Merge pull request #20 from sleep-walker/master
path configuration - 2nd part, prevent clashing of ncurses symbol, xinerama check
2015-09-22 10:41:17 +03:00
Tomáš Čech
25218f98fa Check explicitly for Xinerama
Xinerama doesn't need to be present even when base X11 is. Check it
explicitly.
2015-09-22 00:29:33 +02:00
Tomáš Čech
556961648b Look for renderers on right location 2015-09-21 22:18:14 +02:00
Jari Vetoniemi
092b6ed52d Merge pull request #19 from sleep-walker/master
Respect install destinations set by variables
2015-09-21 22:50:54 +03:00
Tomáš Čech
ecd7d4056f Respect install destinations set by variables
Use CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR as destination
base.
2015-09-21 21:48:45 +02:00
Jari Vetoniemi
064e937452 Update buildhck status. 2015-05-10 01:12:06 +03:00
Mark Oteiza
0874fc5d49 Add some Emacs keybindings
* C-v to curses backend
* C-v, M-v, M-<, M-> to x11 and wayland backends

Signed-off-by: Jari Vetoniemi <mailroxas@gmail.com>
2015-04-06 23:22:12 +03:00
Jari Vetoniemi
30ed5b1916 Copy better tokenizer from chck for now. 2015-04-06 00:47:18 +03:00
Jari Vetoniemi
d8097c44dd Make renderers try detect whether they are in correct env. 2015-03-09 09:53:57 +02:00