From 9546274710deb36a3ea02e90f65673811b52db18 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 16 May 2014 23:17:09 +0200 Subject: 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. --- video/out/x11_common.h | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'video/out/x11_common.h') 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); -- cgit v1.2.3