X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Fxenv.c;fp=linux%2Fxenv.c;h=3de7628e4c602f6b0a059e9924e1096d9bbd289d;hb=3797b7de4240e03a647664e7b5524e314506d31b;hp=1febde7bfe025b209dd40c6516338be48902bcfc;hpb=2f54e52c1efdfdbafe5fd4b570021aefe5201aad;p=libpicofe.git diff --git a/linux/xenv.c b/linux/xenv.c index 1febde7..3de7628 100644 --- a/linux/xenv.c +++ b/linux/xenv.c @@ -186,7 +186,7 @@ static int x11h_update(int *is_down) } static struct termios g_kbd_termios_saved; -static int g_kbdfd; +static int g_kbdfd = -1; static int tty_init(void) {