summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/x11_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 713b5071df..2bd385f641 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -914,7 +914,7 @@ static void vo_x11_sizehint(struct vo *vo, int x, int y, int width, int height,
x11->vo_hint.base_height = 0 /*height*/;
x11->vo_hint.flags |= PWinGravity;
- x11->vo_hint.win_gravity = StaticGravity;
+ x11->vo_hint.win_gravity = CenterGravity;
XSetWMNormalHints(x11->display, x11->window, &x11->vo_hint);
}