aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2023-07-13 06:40:38 +0300
committeradnano <me@adnano.co>2023-07-15 18:35:15 -0400
commit62e9584977639782d1d9288d8220069595e34ddc (patch)
treeb94458b171aff03a276662bc8334efb15aba560c
parent9fb3ffa5221e91f61ad5476c5cf226ab8789ed3e (diff)
downloadwmenu-62e9584977639782d1d9288d8220069595e34ddc.tar.gz
Drop render_frame on surface_enter
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index bfa5e62..99620fd 100644
--- a/main.c
+++ b/main.c
@@ -411,7 +411,6 @@ static void surface_enter(void *data, struct wl_surface *surface,
struct wl_output *wl_output) {
struct menu_state *state = data;
state->output = wl_output_get_user_data(wl_output);
- render_frame(state);
}
static const struct wl_surface_listener surface_listener = {