diff options
author | wm4 <wm4@nowhere> | 2014-11-03 23:01:27 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-03 23:01:27 +0100 |
commit | dc1d851c92f6c10014c964f601d770afd2d92522 (patch) | |
tree | 134b875bed507d586d8f0da0fd0e6d5826dd8c64 /video/out/x11_common.h | |
parent | c54f0adacde17d69404fd23f54a2419768cbc452 (diff) | |
download | mpv-dc1d851c92f6c10014c964f601d770afd2d92522.tar.bz2 mpv-dc1d851c92f6c10014c964f601d770afd2d92522.tar.xz |
x11: rely on the Atom cache
XInternAtom() has a 64 entry hash table to avoid network accesses. Rely
on this cache, instead of caching these manually.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r-- | video/out/x11_common.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h index d5927933c3..34fa1ff07a 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -103,13 +103,9 @@ struct vo_x11_state { int ShmCompletionWaitCount; /* drag and drop */ - Atom dnd_property; Atom dnd_requested_format; Window dnd_src_window; - Atom atom_frame_exts; - Atom atom_wm_state; - /* dragging the window */ bool win_drag_button1_down; }; |