about summary refs log tree commit diff
path: root/main.c
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2022-01-20 20:40:34 -0500
committerZach DeCook <zachdecook@librem.one>2022-01-20 20:40:34 -0500
commit1ae1ac8ccd79716830f911fd97438d99d17998b2 (patch)
tree528b5102fc2b5cabb72f07453cf30dfb898fd2bf /main.c
parent8a3e71164d730500105ae1de2f9a666fb11c9eae (diff)
downloadsuggpicker-1ae1ac8ccd79716830f911fd97438d99d17998b2.tar.gz
numlayouts: hard-code to one
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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);
 }