mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-03-12 18:32:48 +01:00
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:
parent
3cccdab2e8
commit
0e17680041
4
main.c
4
main.c
@ -354,10 +354,6 @@ wl_surface_enter(void *data, struct wl_surface *wl_surface,
|
|||||||
}
|
}
|
||||||
|
|
||||||
keyboard.preferred_scale = current_output->scale;
|
keyboard.preferred_scale = current_output->scale;
|
||||||
|
|
||||||
flip_landscape();
|
|
||||||
kbd_resize(&keyboard, layouts, NumLayouts);
|
|
||||||
drwsurf_flip(&draw_surf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user