Revert "Render frame on surface enter"

This reverts commit e2542d34ed.

This commit causes crashes on some systems.
This commit is contained in:
adnano 2025-02-21 12:09:16 -05:00
parent e2542d34ed
commit eec775fad7

View file

@ -208,7 +208,6 @@ static void noop() {
static void surface_enter(void *data, struct wl_surface *surface, struct wl_output *wl_output) {
struct wl_context *context = data;
context->output = wl_output_get_user_data(wl_output);
menu_render_items(context->menu);
}
static const struct wl_surface_listener surface_listener = {