summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r--video/out/x11_common.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h
index fffc5be294..774a76afbe 100644
--- a/video/out/x11_common.h
+++ b/video/out/x11_common.h
@@ -20,14 +20,11 @@
#include <stdint.h>
#include <stdbool.h>
-#include <pthread.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#include "osdep/atomic.h"
-#include "osdep/semaphore.h"
-
#include "common/common.h"
+#include "osdep/atomic.h"
#include "config.h"
#if !HAVE_GPL
@@ -75,10 +72,6 @@ struct vo_x11_state {
bool screensaver_enabled;
bool dpms_touched;
double screensaver_time_last;
- pthread_t screensaver_thread;
- bool screensaver_thread_running;
- sem_t screensaver_sem;
- atomic_bool screensaver_terminate;
XIM xim;
XIC xic;