diff options
author | wm4 <wm4@nowhere> | 2014-05-17 02:53:57 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-17 02:53:57 +0200 |
commit | 625ad57add3070a2ad187a659694e628fe037953 (patch) | |
tree | 619f0c038f9a747bb8e7f4965e2af6b9d0606789 | |
parent | 3afff3fe9be3b37650cb9d9154de581a56b82939 (diff) | |
download | mpv-625ad57add3070a2ad187a659694e628fe037953.tar.bz2 mpv-625ad57add3070a2ad187a659694e628fe037953.tar.xz |
x11: don't set PBaseSize
There's apparently no reason why we should set a bogus size.
-rw-r--r-- | video/out/x11_common.c | 7 |
1 files changed, 0 insertions, 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); |