diff options
author | wm4 <wm4@nowhere> | 2014-05-17 00:51:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-17 00:53:53 +0200 |
commit | c14721c8b930481cbfcfbb8cbbfdf32c68a170fc (patch) | |
tree | 3c95050b47aba75d8469093691ba524331e7f3b5 /video/out/x11_common.h | |
parent | 9546274710deb36a3ea02e90f65673811b52db18 (diff) | |
download | mpv-c14721c8b930481cbfcfbb8cbbfdf32c68a170fc.tar.bz2 mpv-c14721c8b930481cbfcfbb8cbbfdf32c68a170fc.tar.xz |
x11: remove gravity restore code
It was added with 3813c685 in 2004. I'm not really sure why this gravity
stuff would be needed; apparently it has to do with misplacements with
broken WMs and had to be changed on fullscreen. Just get rid of it; it
works perfectly fine without on modern WMs.
The thread discussing this is here:
http://mplayerhq.hu/pipermail/mplayer-dev-eng/2004-July/027674.html
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r-- | video/out/x11_common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h index 1b1f2d7f92..d410809c09 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -62,7 +62,6 @@ struct vo_x11_state { XSizeHints vo_hint; bool mouse_cursor_hidden; int orig_layer; - int old_gravity; // Current actual window position (updated on window move/resize events). int win_x; |