diff options
author | wm4 <wm4@nowhere> | 2014-05-16 23:17:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-16 23:17:09 +0200 |
commit | 9546274710deb36a3ea02e90f65673811b52db18 (patch) | |
tree | 4d2925d086881472eddb936a9fb55afb5acb2ab0 /video/out/x11_common.h | |
parent | 7c2cf7cdf16876a58956985f3f54561efdfaaee3 (diff) | |
download | mpv-9546274710deb36a3ea02e90f65673811b52db18.tar.bz2 mpv-9546274710deb36a3ea02e90f65673811b52db18.tar.xz |
x11: don't cache X Atoms manually
XInternAtom() already caches lookups. Even if calling XInternAtom would
be always inefficient, it wouldn't matter much during normal playback.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r-- | video/out/x11_common.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h index d0b78c1514..1b1f2d7f92 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -111,37 +111,6 @@ struct vo_x11_state { /* dragging the window */ bool win_drag_button1_down; - - Atom XA_NET_SUPPORTED; - Atom XA_NET_WM_STATE; - Atom XA_NET_WM_STATE_FULLSCREEN; - Atom XA_NET_WM_STATE_ABOVE; - Atom XA_NET_WM_STATE_STAYS_ON_TOP; - Atom XA_NET_WM_STATE_BELOW; - Atom XA_NET_WM_PID; - Atom XA_NET_WM_NAME; - Atom XA_NET_WM_ICON_NAME; - Atom XA_NET_WM_ICON; - Atom XA_NET_WM_MOVERESIZE; - Atom XA_WIN_PROTOCOLS; - Atom XA_WIN_LAYER; - Atom XA_WIN_HINTS; - Atom XAWM_PROTOCOLS; - Atom XAWM_DELETE_WINDOW; - Atom XAUTF8_STRING; - Atom XA_NET_WM_CM; - Atom XATARGETS; - Atom XAXdndAware; - Atom XAXdndEnter; - Atom XAXdndLeave; - Atom XAXdndPosition; - Atom XAXdndStatus; - Atom XAXdndActionCopy; - Atom XAXdndTypeList; - Atom XAXdndDrop; - Atom XAXdndSelection; - Atom XAXdndFinished; - Atom XA_uri_list; }; int vo_x11_init(struct vo *vo); |