Mercurial > mplayer.hg
comparison libvo/vo_xv.c @ 1137:4c7b219e126c
patch: some X11 compliance fixed: set ClassHint and better fullscreen mode
author | arpi_esp |
---|---|
date | Sun, 17 Jun 2001 01:22:09 +0000 |
parents | db06ae8967eb |
children | beb0ee0f3a25 |
comparison
equal
deleted
inserted
replaced
1136:025cb2d303b8 | 1137:4c7b219e126c |
---|---|
139 xswamask = CWBackPixel | CWBorderPixel; | 139 xswamask = CWBackPixel | CWBorderPixel; |
140 | 140 |
141 mywindow = XCreateWindow(mDisplay, RootWindow(mDisplay,mScreen), | 141 mywindow = XCreateWindow(mDisplay, RootWindow(mDisplay,mScreen), |
142 hint.x, hint.y, hint.width, hint.height, | 142 hint.x, hint.y, hint.width, hint.height, |
143 0, depth,CopyFromParent,vinfo.visual,xswamask,&xswa); | 143 0, depth,CopyFromParent,vinfo.visual,xswamask,&xswa); |
144 vo_x11_classhint( mDisplay,mywindow,"xv" ); | |
144 vo_hidecursor(mDisplay,mywindow); | 145 vo_hidecursor(mDisplay,mywindow); |
145 | 146 |
146 XSelectInput(mDisplay, mywindow, StructureNotifyMask | KeyPressMask ); | 147 XSelectInput(mDisplay, mywindow, StructureNotifyMask | KeyPressMask ); |
147 XSetStandardProperties(mDisplay, mywindow, hello, hello, None, NULL, 0, &hint); | 148 XSetStandardProperties(mDisplay, mywindow, hello, hello, None, NULL, 0, &hint); |
148 if ( mFullscreen ) vo_x11_decoration( mDisplay,mywindow,0 ); | 149 if ( mFullscreen ) vo_x11_decoration( mDisplay,mywindow,0 ); |