diff options
author | wm4 <wm4@nowhere> | 2014-12-18 16:45:55 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-18 16:45:55 +0100 |
commit | eec4b86bbc18926ca4a9d0b25c1b93a0e2924ae3 (patch) | |
tree | b4ef2c432d1f76dc53f1f7fca8276d944d8312b0 /video/out/gl_header_fixes.h | |
parent | 7098f3307792a0333e35317a51f0fecbcffff465 (diff) | |
download | mpv-eec4b86bbc18926ca4a9d0b25c1b93a0e2924ae3.tar.bz2 mpv-eec4b86bbc18926ca4a9d0b25c1b93a0e2924ae3.tar.xz |
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.
Diffstat (limited to 'video/out/gl_header_fixes.h')
0 files changed, 0 insertions, 0 deletions