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:
ppascher 2018-11-07 19:59:58 +01:00 committed by GitHub
parent b84ce02c7e
commit ddc95d7b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))) {