Hi all, I'm trying to get freevo to open up at a pre-defined window position. So far, I've scanned the pygame code and it seems that this libary doesn't support setting the size as well as the offset of a new window.
As a workaround, I made a small script which runs as OSD_SDL_EXEC_AFTER_STARTUP, that uses "xwit -move X Y -names Freevo" to move the window. This works fine, but reveals a slight inconsistency between playing a movie and playing a game. When playing a movie, you can select freevo to either keep its window or close and open (OSD_STOP_WHEN_PLAYING), but for games it always closes the freevo window. As a fix, I've included: if config.OSD_SDL_EXEC_AFTER_STARTUP: os.system(OSD_SDL_EXEC_AFTER_STARTUP) in the osd.py:restart() function. But I'm in doubt whether this is desired behavior (I would say not actually). Am I missing a more elegant/straightforward way of positioning the freevo window? Kind regards, Jelle ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel