mirror of https://github.com/mpv-player/mpv
gtk suid bug fix(?)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3475 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3eba4f11b1
commit
5809ae8664
|
@ -68,6 +68,10 @@ static void gtkThreadProc( int argc,char * argv[] )
|
|||
{
|
||||
struct sigaction sa;
|
||||
|
||||
#ifdef HAVE_RTC
|
||||
setuid( getuid() ); // strongly test, please check this.
|
||||
#endif
|
||||
|
||||
gtk_set_locale();
|
||||
gtk_init( &argc,&argv );
|
||||
gdk_set_use_xshm( TRUE );
|
||||
|
|
Loading…
Reference in New Issue