From 625ad57add3070a2ad187a659694e628fe037953 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 17 May 2014 02:53:57 +0200 Subject: x11: don't set PBaseSize There's apparently no reason why we should set a bogus size. --- video/out/x11_common.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/video/out/x11_common.c b/video/out/x11_common.c index f6b83e549a..abde877393 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -932,13 +932,6 @@ static void vo_x11_sizehint(struct vo *vo, int x, int y, int width, int height, hint->flags |= PMinSize; hint->min_width = hint->min_height = 4; - // Set the base size. A window manager might display the window - // size to the user relative to this. - // Setting these to width/height might be nice, but e.g. fluxbox can't handle it. - hint->flags |= PBaseSize; - hint->base_width = 0 /*width*/; - hint->base_height = 0 /*height*/; - hint->flags |= PWinGravity; hint->win_gravity = CenterGravity; XSetWMNormalHints(x11->display, x11->window, hint); -- cgit v1.2.3