suggestion picker: a persistent layer to complement virtual keyboards like wvkbd
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -310,7 +310,7 @@ handle_global_remove(void *data, struct wl_registry *registry, uint32_t name) {} void 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.w = w; keyboard.h = h; kbd_resize(&keyboard); @@ -399,12 +399,6 @@ main(int argc, char **argv) { height = normal_height = KBD_PIXEL_HEIGHT; landscape_height = KBD_PIXEL_LANDSCAPE_HEIGHT; - char *tmp; - if ((tmp = getenv("WVKBD_HEIGHT"))) - normal_height = atoi(tmp); - if ((tmp = getenv("WVKBD_LANDSCAPE_HEIGHT"))) - landscape_height = atoi(tmp); - /* keyboard settings */ keyboard.scheme = scheme; |