diff --git a/util/epist/epist.cc b/util/epist/epist.cc index 7bb16d93..63a31920 100644 --- a/util/epist/epist.cc +++ b/util/epist/epist.cc @@ -30,6 +30,10 @@ extern "C" { # include #endif // HAVE_UNISTD_H +#ifdef HAVE_STDIO_H +# include +#endif // HAVE_STDIO_H + #ifdef HAVE_STDLIB_H # include #endif // HAVE_STDLIB_H @@ -173,6 +177,7 @@ int main(int argc, char **argv) { } } + XSelectInput(_display, _root, None); delete _xatom; XCloseDisplay(_display); return 0;