Mercurial > mplayer.hg
comparison libvo/vo_gl.c @ 384:b0e4e5744899
Autohide X11 cursor
author | lgb |
---|---|
date | Fri, 13 Apr 2001 00:54:05 +0000 |
parents | 1fc618eba830 |
children | 77e0094f0cce |
comparison
equal
deleted
inserted
replaced
383:086c66d570d8 | 384:b0e4e5744899 |
---|---|
181 xswamask = CWBackPixel | CWBorderPixel | CWColormap; | 181 xswamask = CWBackPixel | CWBorderPixel | CWColormap; |
182 // xswamask = CWBackPixel | CWBorderPixel | CWColormap | CWEventMask | CWCursor | CWOverrideRedirect | CWSaveUnder | CWX | CWY | CWWidth | CWHeight; | 182 // xswamask = CWBackPixel | CWBorderPixel | CWColormap | CWEventMask | CWCursor | CWOverrideRedirect | CWSaveUnder | CWX | CWY | CWWidth | CWHeight; |
183 | 183 |
184 mywindow = XCreateWindow(mydisplay, RootWindow(mydisplay,screen), | 184 mywindow = XCreateWindow(mydisplay, RootWindow(mydisplay,screen), |
185 hint.x, hint.y, hint.width, hint.height, 4, vinfo->depth,CopyFromParent,vinfo->visual,xswamask,&xswa); | 185 hint.x, hint.y, hint.width, hint.height, 4, vinfo->depth,CopyFromParent,vinfo->visual,xswamask,&xswa); |
186 vo_hidecursor(mydisplay,mywindow); | |
186 | 187 |
187 wsGLXContext=glXCreateContext( mydisplay,vinfo,NULL,True ); | 188 wsGLXContext=glXCreateContext( mydisplay,vinfo,NULL,True ); |
188 // XStoreName( wsDisplay,wsMyWin,wsSysName ); | 189 // XStoreName( wsDisplay,wsMyWin,wsSysName ); |
189 | 190 |
190 // printf("GLXcontext ok\n"); | 191 // printf("GLXcontext ok\n"); |