[Toxine-cvs] CVS: toxine/src/plugins vo_x11.c,1.24,1.25
Brought to you by:
f1rmb
From: Daniel Caujolle-B. <f1...@us...> - 2004-04-08 16:41:13
|
Update of /cvsroot/toxine/toxine/src/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17686/plugins Modified Files: vo_x11.c Log Message: xine_new isn't called implicitly at startup Index: vo_x11.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/plugins/vo_x11.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- vo_x11.c 7 Apr 2004 18:21:07 -0000 1.24 +++ vo_x11.c 8 Apr 2004 16:28:03 -0000 1.25 @@ -502,6 +502,13 @@ exit(1); } + private->fake_rate = xine_config_register_num(tox->xine, "tox.fake_rate", 10, + "time between two fake key events (in s)", + "Each x seconds, this plugin fake a key event" + ", which prevent screensaver activation.", + 0, + change_fake_rate_cb, (void*)private); + if(getenv("DISPLAY")) display_name = getenv("DISPLAY"); @@ -1172,12 +1179,5 @@ x11->fullscreen = fullscreen; x11->private = (void *) private; - private->fake_rate = xine_config_register_num(tox->xine, "tox.fake_rate", 10, - "time between two fake key events (in s)", - "Each x seconds, this plugin fake a key event" - ", which prevent screensaver activation.", - 0, - change_fake_rate_cb, (void*)private); - return x11; } |