mirror of
https://github.com/Cloudef/bemenu
synced 2025-02-21 01:16:49 +00:00
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.
This commit is contained in:
parent
b84ce02c7e
commit
ddc95d7b64
@ -208,9 +208,6 @@ bm_wl_window_render(struct window *window, struct wl_display *display, const str
|
||||
{
|
||||
assert(window && menu);
|
||||
|
||||
if (window->frame_cb)
|
||||
return;
|
||||
|
||||
struct buffer *buffer;
|
||||
for (int tries = 0; tries < 2; ++tries) {
|
||||
if (!(buffer = next_buffer(window))) {
|
||||
|
Loading…
Reference in New Issue
Block a user