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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h
index c54404fb7f..88a52e1953 100644
--- a/video/out/x11_common.h
+++ b/video/out/x11_common.h
@@ -27,6 +27,7 @@
#include "config.h"
struct vo;
+struct mp_rect;
struct vo_x11_state {
Display *display;
@@ -43,6 +44,7 @@ struct vo_x11_state {
XIM xim;
XIC xic;
+ bool no_autorepeat;
GC f_gc; // used to paint background
GC vo_gc; // used to paint video
@@ -136,8 +138,7 @@ void vo_x11_config_vo_window(struct vo *vo, XVisualInfo *vis,
int x, int y, unsigned int width,
unsigned int height, int flags,
const char *classname);
-void vo_x11_clearwindow_part(struct vo *vo, Window vo_window,
- int img_width, int img_height);
+void vo_x11_clear_background(struct vo *vo, const struct mp_rect *rc);
void vo_x11_clearwindow(struct vo *vo, Window vo_window);
void vo_x11_ontop(struct vo *vo);
void vo_x11_border(struct vo *vo);