summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorppascher <ppascher@users.noreply.github.com>2018-11-07 19:59:58 +0100
committerGitHub <noreply@github.com>2018-11-07 19:59:58 +0100
commitddc95d7b64596a2c84b092563b83a816ace04335 (patch)
treeff3a7d6c9e3f55a86ce458084a991fba9c7cf91e
parentb84ce02c7ecfb051943bc6a9ffd1d22d255995fb (diff)
downloadbemenu-ddc95d7b64596a2c84b092563b83a816ace04335.tar.gz
bemenu-ddc95d7b64596a2c84b092563b83a816ace04335.tar.bz2
bemenu-ddc95d7b64596a2c84b092563b83a816ace04335.zip
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.
-rw-r--r--lib/renderers/wayland/window.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/renderers/wayland/window.c b/lib/renderers/wayland/window.c
index 4669f20..1890a60 100644
--- a/lib/renderers/wayland/window.c
+++ b/lib/renderers/wayland/window.c
@@ -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))) {