diff options
author | wm4 <wm4@nowhere> | 2014-05-17 14:26:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-17 14:26:49 +0200 |
commit | 5a1bf2552371ec030f6c219905da5e14f4e2e6dc (patch) | |
tree | 3edb84618e6eca7482ac22e7d0450bc00f49b030 /stream/frequencies.h | |
parent | 0e579f84394169e82bb88aa9b608f8d5b2fb21d2 (diff) | |
download | mpv-5a1bf2552371ec030f6c219905da5e14f4e2e6dc.tar.bz2 mpv-5a1bf2552371ec030f6c219905da5e14f4e2e6dc.tar.xz |
x11: comment about gravity
The window "gravity" influences how placement interacts with WM added
borders (i.e. from decorations). This is probably what the code removed
in commit c14721c8 was about.
In theory, we'd probably want to set the gravity depending on the
relative placement requested by the user (so that it's possible to line
up the top/left video pixel with the monitor corner, as well as the
bottom/right pixel - but that would be too complicated, and who cares
after all?).
I'm also not sure whether CenterGravity really uses the top/left corner
as reference point (instead of making coordinates relative to the window
center), but empirically it's correct.
Diffstat (limited to 'stream/frequencies.h')
0 files changed, 0 insertions, 0 deletions