summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-30 13:46:18 +0100
committerwm4 <wm4@nowhere>2019-11-30 13:46:18 +0100
commite615e51ce5bf67712f22a2e57e0f88a11151ded8 (patch)
tree820fd548ee20efcbc956aeec5a99a19dde000beb /video/out/x11_common.h
parentfa9a1ff0a0f2ec0c37e27c30ad71ba814c7ada89 (diff)
downloadmpv-x11_geo.tar.bz2
mpv-x11_geo.tar.xz
x11: update --geometry at runtime and react to runtime option changesx11_geo
Not sure if I want this.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r--video/out/x11_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h
index fffc5be294..ae038bc3cf 100644
--- a/video/out/x11_common.h
+++ b/video/out/x11_common.h
@@ -24,6 +24,7 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#include "options/m_option.h"
#include "osdep/atomic.h"
#include "osdep/semaphore.h"
@@ -100,6 +101,7 @@ struct vo_x11_state {
// Current actual window position (updated on window move/resize events).
struct mp_rect winrc;
double current_display_fps;
+ struct m_geometry last_geometry;
int pending_vo_events;