From 1ae1ac8ccd79716830f911fd97438d99d17998b2 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Thu, 20 Jan 2022 20:40:34 -0500 Subject: numlayouts: hard-code to one --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 13f8a38..17e8885 100644 --- a/main.c +++ b/main.c @@ -322,7 +322,7 @@ layer_surface_configure(void *data, struct zwlr_layer_surface_v1 *surface, uint32_t serial, uint32_t w, uint32_t h) { keyboard.w = w + KBD_PIXEL_OVERSCAN_WIDTH; keyboard.h = h; - kbd_resize(&keyboard, layouts, NumLayouts); + kbd_resize(&keyboard, layouts); zwlr_layer_surface_v1_ack_configure(surface, serial); } -- cgit 1.4.1