mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-04-19 07:16:47 +02:00
Remove surface commits where it is unecessary and wrong
This commit is contained in:
parent
8bdc761d9b
commit
b1890848d5
5
main.c
5
main.c
@ -326,7 +326,6 @@ display_handle_geometry(void *data, struct wl_output *wl_output, int x, int y,
|
|||||||
if (layer_surface) {
|
if (layer_surface) {
|
||||||
zwlr_layer_surface_v1_set_size(layer_surface, 0, height);
|
zwlr_layer_surface_v1_set_size(layer_surface, 0, height);
|
||||||
zwlr_layer_surface_v1_set_exclusive_zone(layer_surface, height);
|
zwlr_layer_surface_v1_set_exclusive_zone(layer_surface, height);
|
||||||
wl_surface_commit(draw_surf.surf);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -485,10 +484,6 @@ show() {
|
|||||||
NULL);
|
NULL);
|
||||||
wl_surface_commit(draw_surf.surf);
|
wl_surface_commit(draw_surf.surf);
|
||||||
|
|
||||||
wl_display_roundtrip(display);
|
|
||||||
kbd_resize(&keyboard, layouts, NumLayouts);
|
|
||||||
drwsurf_flip(&draw_surf);
|
|
||||||
|
|
||||||
hidden = false;
|
hidden = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user