diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-17 01:22:09 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-17 01:22:09 +0000 |
commit | 9e90ab54309dcdb720ef8a70e11db90b1ddb46f0 (patch) | |
tree | ca25178f2f9b6b95d78c487f2254ca750aa06f81 /libvo/vo_gl.c | |
parent | 255ab08f9d1ae90c541b9ccab12fa55cf3304f6a (diff) | |
download | mpv-9e90ab54309dcdb720ef8a70e11db90b1ddb46f0.tar.bz2 mpv-9e90ab54309dcdb720ef8a70e11db90b1ddb46f0.tar.xz |
patch: some X11 compliance fixed: set ClassHint and better fullscreen mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1138 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 854de2614d..a57fa5af57 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -183,6 +183,8 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3 mywindow = XCreateWindow(mydisplay, RootWindow(mydisplay,screen), hint.x, hint.y, hint.width, hint.height, 4, vinfo->depth,CopyFromParent,vinfo->visual,xswamask,&xswa); + + vo_x11_classhint( mydisplay,mywindow,"gl" ); vo_hidecursor(mydisplay,mywindow); wsGLXContext=glXCreateContext( mydisplay,vinfo,NULL,True ); |