summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/widgets.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Gui/mplayer/widgets.c b/Gui/mplayer/widgets.c
index 0115a85442..e945761356 100644
--- a/Gui/mplayer/widgets.c
+++ b/Gui/mplayer/widgets.c
@@ -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 );