Drop render_frame on surface_enter

This commit is contained in:
Mykyta Holubakha 2023-07-13 06:40:38 +03:00 committed by adnano
parent 9fb3ffa522
commit 62e9584977

1
main.c
View file

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