# HG changeset patch # User reimar # Date 1198354677 0 # Node ID 765211fd3efb22db25caeff5f3b77f72e57ac6d0 # Parent 943f37a4323db3c1dfb5a83d51a5767cecf1deff Set vo_mouse_autohide in gl and gl2 vos, so the mouse hiding behaviour becomes the same as for the other vos using X11. diff -r 943f37a4323d -r 765211fd3efb libvo/vo_gl.c --- a/libvo/vo_gl.c Sat Dec 22 19:16:01 2007 +0000 +++ b/libvo/vo_gl.c Sat Dec 22 20:17:57 2007 +0000 @@ -465,6 +465,7 @@ if (!vo_w32_config(d_width, d_height, flags)) return -1; #else + vo_mouse_autohide = 1; if (WinID >= 0) { vo_window = WinID ? (Window)WinID : mRootWin; vo_x11_selectinput_witherr(mDisplay, vo_window, diff -r 943f37a4323d -r 765211fd3efb libvo/vo_gl2.c --- a/libvo/vo_gl2.c Sat Dec 22 19:16:01 2007 +0000 +++ b/libvo/vo_gl2.c Sat Dec 22 20:17:57 2007 +0000 @@ -521,6 +521,7 @@ static int config_glx(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) { XVisualInfo *vinfo, vinfo_buf; + vo_mouse_autohide = 1; if (WinID >= 0) { vo_window = WinID ? (Window)WinID : mRootWin; vo_x11_selectinput_witherr(mDisplay, vo_window,