diff libvo/vo_gl2.c @ 25485:765211fd3efb

Set vo_mouse_autohide in gl and gl2 vos, so the mouse hiding behaviour becomes the same as for the other vos using X11.
author reimar
date Sat, 22 Dec 2007 20:17:57 +0000
parents 084619331d92
children 46f0b4d34fa1
line wrap: on
line diff
--- 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,