diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/x11_common.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c index d6ecf4969c..898efd2ad5 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -1308,11 +1308,8 @@ static void vo_x11_sizehint(struct vo *vo, struct mp_rect rc, bool override_pos) hint->flags |= PMinSize; hint->min_width = hint->min_height = 4; - // This will use the top/left corner of the window for positioning, instead - // of the top/left corner of the client. _NET_MOVERESIZE_WINDOW could be - // used to get a different reference point, while keeping gravity. hint->flags |= PWinGravity; - hint->win_gravity = CenterGravity; + hint->win_gravity = StaticGravity; XSetWMNormalHints(x11->display, x11->window, hint); XFree(hint); |