1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/video/out
wm4 eec4b86bbc x11: fix mysterious issue with window embedding on OpenBox
For some reason, when using window embedding, and the window manager is
OpenBox, calling XSetWMNormalHints() before the window is mapped, the
initial window position will be off. It leaves some vertical space,
instead of placing it on the top/left corner. Suspiciously, the vertical
space is as much as a the height of normal window decoration.

I don't know what kind of issue this is. Possibly an OpenBox bug, but
then this happens even if the override-redirect flag is set. (This flag
basically tells the X server to ignore the window manager. Normally we
don't set it.) On other window managers, it works fine. So I don't know
why this is happening.

But this is easy to workaround. XSetWMNormalHints() isn't needed at all
if embedding.

Should fix #1235.
2014-12-18 16:45:55 +01:00
..
cocoa cocoa: allow to black out other display when going fs 2014-12-01 18:05:30 +01:00
wayland wayland/buffer: use buffer macros consistently 2014-09-16 15:48:07 +02:00
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h vda: use implicit current GL context 2014-12-03 20:40:06 +01:00
cocoa_common.m cocoa: fix crash 2014-12-08 23:02:09 +01:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl
dither.c malloc+memset(0) to calloc 2014-09-05 01:59:11 +02:00
dither.h
filter_kernels.c vo_opengl: clamp filters to their size 2014-12-06 23:59:54 +01:00
filter_kernels.h
gl_cocoa.c cocoa: reintroduce async resize 2014-10-18 18:30:22 +02:00
gl_common.c vo_opengl: minor simplification in function loader 2014-12-18 15:29:47 +01:00
gl_common.h vo_opengl: GLES 3 support 2014-12-17 21:48:23 +01:00
gl_header_fixes.h vo_opengl: add some OpenGL standard symbols missing on OSX 2014-12-17 22:17:11 +01:00
gl_hwdec_vaglx.c client API: expose OpenGL renderer 2014-12-09 17:59:04 +01:00
gl_hwdec_vda.c vo_opengl: move hwdec parts into their own files 2014-12-03 23:01:19 +01:00
gl_hwdec_vdpau.c client API: expose OpenGL renderer 2014-12-09 17:59:04 +01:00
gl_hwdec.c client API: expose OpenGL renderer 2014-12-09 17:59:04 +01:00
gl_hwdec.h client API: expose OpenGL renderer 2014-12-09 17:59:04 +01:00
gl_lcms.c
gl_lcms.h
gl_osd.c vo_opengl: simplify the case without texture_rg 2014-12-18 14:46:59 +01:00
gl_osd.h
gl_video_shaders.glsl vo_opengl: simplify the case without texture_rg 2014-12-18 14:46:59 +01:00
gl_video.c vo_opengl: simplify the case without texture_rg 2014-12-18 14:46:59 +01:00
gl_video.h vo_opengl: remove quadbuffer/anaglyph stereo 3D rendering 2014-12-15 04:40:26 +01:00
gl_w32.c
gl_wayland.c gl_wayland: fix crash after eglInitialze failed 2014-08-30 10:17:51 +02:00
gl_x11.c gl_x11: distinguish missing GLX and too old GLX versions 2014-10-12 01:33:10 +02:00
gl_x11egl.c vo_opengl: GLES 3 support 2014-12-17 21:48:23 +01:00
pnm_loader.c
pnm_loader.h
vo_caca.c
vo_direct3d.c vo_direct3d: check whether D3DFMT_A8 is available 2014-11-27 20:05:29 +01:00
vo_image.c Do not call strerror() 2014-11-26 21:21:56 +01:00
vo_lavc.c ao_lavc, vo_lavc: Fix crashes in case of multiple init attempts. 2014-11-12 12:16:07 +01:00
vo_null.c
vo_opengl_cb.c vo_opengl: remove requirement for RG textures 2014-12-16 18:55:20 +01:00
vo_opengl_old.c vo_opengl: remove quadbuffer/anaglyph stereo 3D rendering 2014-12-15 04:40:26 +01:00
vo_opengl.c vo_opengl: remove icc profile options from runtime-settable options 2014-12-16 19:19:02 +01:00
vo_sdl.c command: make window-scale property observable 2014-11-02 20:53:56 +01:00
vo_vaapi.c vo_vaapi: fix broken error checks 2014-11-07 09:28:47 +01:00
vo_vdpau.c vo: fix some nonsense 2014-12-10 17:00:18 +01:00
vo_wayland.c vo_wayland: drop redundant "const" 2014-11-07 09:28:58 +01:00
vo_x11.c vo_x11: don't attempt to resize when unconfigured 2014-12-14 22:01:30 +01:00
vo_xv.c command: make window-scale property observable 2014-11-02 20:53:56 +01:00
vo.c vo: fix some nonsense 2014-12-10 17:00:18 +01:00
vo.h vo: fix some nonsense 2014-12-10 17:00:18 +01:00
w32_common.c Revert "vo/w32_common: use local definition of IID_ITaskbarList2" 2014-12-16 02:19:33 -08:00
w32_common.h
wayland_common.c vo_wayland: Add "multimedia" keyboard key bindings. 2014-11-29 19:13:47 +01:00
wayland_common.h wayland_common: fix changing videos when fullscreen 2014-09-10 19:21:52 +02:00
win_state.c
win_state.h
x11_common.c x11: fix mysterious issue with window embedding on OpenBox 2014-12-18 16:45:55 +01:00
x11_common.h x11: copy WinID option 2014-12-09 21:55:18 +01:00
x11_icon.bin