aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-01-18 13:11:33 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-01-18 13:11:33 +0100
commite39879284f9c5ac5e410631687f4577d7f630b85 (patch)
tree14e5e153a3b471cf516c3ba6446ff98e114ced47 /fbi.c
parent6dd9dfd266aae08880a9634c1ec015043258f92f (diff)
downloadfbida-e39879284f9c5ac5e410631687f4577d7f630b85.tar.gz
Revert "libinput: grab tweaks"
This reverts commit d88041d909b2118ebc67b356b2848fb8bdfc8f2c.
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fbi.c b/fbi.c
index 5838ea3..9dab5b6 100644
--- a/fbi.c
+++ b/fbi.c
@@ -1326,7 +1326,6 @@ int main(int argc, char *argv[])
int once;
int i, arg, key;
bool framebuffer = false;
- bool use_grab = false;
bool use_libinput;
char *info, *desc, *device, *output, *mode;
char linebuffer[128];
@@ -1445,15 +1444,11 @@ 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;
- }
}
shadow_init(gfx);
/* svga main loop */
- kbd_init(use_libinput, use_grab, gfx->devnum);
+ kbd_init(use_libinput, gfx->devnum);
desc = NULL;
info = NULL;
for (;;) {