diff options
author | wm4 <wm4@nowhere> | 2020-07-08 22:25:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-07-08 22:45:07 +0200 |
commit | c498b2846af0ee8835b9144c9f6893568a4e49c6 (patch) | |
tree | 0be6b06d2d7ec678a97f9e953d6472ccc3d33f29 /video/out/x11_common.h | |
parent | b93f142011381a9ad753a246ea112115f262e7a1 (diff) | |
download | mpv-c498b2846af0ee8835b9144c9f6893568a4e49c6.tar.bz2 mpv-c498b2846af0ee8835b9144c9f6893568a4e49c6.tar.xz |
x11: remove terrible xdg-screensaver hack
I'm tired of dealing with this frequent spawning of xdg-screensaver when
debugging and what not. xdg-screensaver was never a serious tool anyway,
it's more like some self-deprecating joke by FDO folks.
This will affect X11 on GNOME and other DEs. I'm singling out GNOME
though, because they are the ones actively sabotaging any sane
technical solutions and community cooperation.
I have been accused of taking it out on innocent GNOME users, while none
of this will reach GNOME developers. Of course that is not the
intention.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r-- | video/out/x11_common.h | 9 |
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; |