do not refresh on wl_surface_enter

there is no need to do so, because this event is followed by layer_surface_configure.
sway-HEAD(020a572) complains "A configure is scheduled for an uninitialized xdg_surface",
but it works anyway.

fix #50
This commit is contained in:
mojyack 2023-11-04 11:06:52 +09:00 committed by Maarten van Gompel
parent 3cccdab2e8
commit 0e17680041

4
main.c
View File

@ -354,10 +354,6 @@ wl_surface_enter(void *data, struct wl_surface *wl_surface,
}
keyboard.preferred_scale = current_output->scale;
flip_landscape();
kbd_resize(&keyboard, layouts, NumLayouts);
drwsurf_flip(&draw_surf);
}
static void