about summary refs log tree commit diff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/main.c b/main.c
index 5eab410..6023693 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,3 @@
-#include "proto/virtual-keyboard-unstable-v1-client-protocol.h"
 #include "proto/wlr-layer-shell-unstable-v1-client-protocol.h"
 #include <linux/input-event-codes.h>
 #include <stdio.h>
@@ -27,7 +26,6 @@ static struct wl_touch *touch;
 static struct wl_output *wl_output;
 static struct zwlr_layer_shell_v1 *layer_shell;
 static struct zwlr_layer_surface_v1 *layer_surface;
-static struct zwp_virtual_keyboard_manager_v1 *vkbd_mgr;
 
 /* drawing */
 static struct drw draw_ctx;
@@ -312,10 +310,7 @@ handle_global(void *data, struct wl_registry *registry, uint32_t name,
 	} else if (strcmp(interface, zwlr_layer_shell_v1_interface.name) == 0) {
 		layer_shell =
 		  wl_registry_bind(registry, name, &zwlr_layer_shell_v1_interface, 1);
-	} else if (strcmp(interface,
-	                  zwp_virtual_keyboard_manager_v1_interface.name) == 0) {
-		vkbd_mgr = wl_registry_bind(registry, name,
-		                            &zwp_virtual_keyboard_manager_v1_interface, 1);
+
 	}
 }
 
@@ -495,15 +490,6 @@ main(int argc, char **argv) {
 	if (layer_shell == NULL) {
 		die("layer_shell not available\n");
 	}
-	if (vkbd_mgr == NULL) {
-		die("virtual_keyboard_manager not available\n");
-	}
-
-	keyboard.vkbd =
-	  zwp_virtual_keyboard_manager_v1_create_virtual_keyboard(vkbd_mgr, seat);
-	if (keyboard.vkbd == NULL) {
-		die("failed to init virtual keyboard_manager\n");
-	}
 
 	kbd_init(&keyboard, (struct layout *)&layouts, layer_names_list);