From c14721c8b930481cbfcfbb8cbbfdf32c68a170fc Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 17 May 2014 00:51:02 +0200 Subject: 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 --- video/out/x11_common.h | 1 - 1 file changed, 1 deletion(-) (limited to 'video/out/x11_common.h') 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; -- cgit v1.2.3