diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-18 13:11:33 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-18 13:11:33 +0100 |
commit | e39879284f9c5ac5e410631687f4577d7f630b85 (patch) | |
tree | 14e5e153a3b471cf516c3ba6446ff98e114ced47 /fbpdf.c | |
parent | 6dd9dfd266aae08880a9634c1ec015043258f92f (diff) | |
download | fbida-e39879284f9c5ac5e410631687f4577d7f630b85.tar.gz |
Revert "libinput: grab tweaks"
This reverts commit d88041d909b2118ebc67b356b2848fb8bdfc8f2c.
Diffstat (limited to 'fbpdf.c')
-rw-r--r-- | fbpdf.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -237,7 +237,6 @@ int main(int argc, char *argv[]) { GError *err = NULL; bool framebuffer = false; - bool use_grab = false; bool use_libinput; bool quit, newpage, pageflip; char cwd[1024]; @@ -328,10 +327,6 @@ int main(int argc, char *argv[]) fprintf(stderr, "WARNING: Other processes (fbcon too) can write to display.\n"); fprintf(stderr, "WARNING: Also can't properly cleanup on exit.\n"); } - if (use_libinput) { - fprintf(stderr, "NOTICE: Using input device grab.\n"); - use_grab = true; - } } surface1 = cairo_image_surface_create_for_data(gfx->mem, @@ -347,7 +342,7 @@ int main(int argc, char *argv[]) gfx->stride); } - kbd_init(use_libinput, use_grab, gfx->devnum); + kbd_init(use_libinput, gfx->devnum); index = 0; newpage = true; |