summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r--video/out/x11_common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h
index 57db73b847..630d576b77 100644
--- a/video/out/x11_common.h
+++ b/video/out/x11_common.h
@@ -64,6 +64,14 @@ struct vo_x11_state {
int vo_old_width;
int vo_old_height;
+ // Current actual window position (updated on window move/resize events).
+ int win_x;
+ int win_y;
+ unsigned int win_width;
+ unsigned int win_height;
+
+ int pending_vo_events;
+
/* Keep track of original video width/height to determine when to
* resize window when reconfiguring. Resize window when video size
* changes, but don't force window size changes as long as video size