WindowProperties and Origin ...

Hi Panda people!

I’ve got some problems setting the position of the main window of my Panda soft.
I have no problem for the size though.

I read these 2 threads :
discourse.panda3d.org/viewtopic.php?t=2848
discourse.panda3d.org/viewtopic.php?t=2934

but I don’t understand why it won’t work on my computer. Here’s the code I use :

props = WindowProperties()
props.setSize(*windows_properties["MAIN_WINDOW_SIZE"])
props.setOrigin(*windows_properties["MAIN_WINDOW_POS"])
base.win.requestProperties(props)

I tried with this line commented and not commented in the Config.prc :

win-origin 50 50

but no change.

I speak for Linux, because it works on Windows.
Does anybody have an idea?
Thanks
Benjamin

I have no problem setting the origin on both linux and windows.
But, make sure you do so before opening a window or importing directstart.
Does calling loadPrcData with a window origin before opening DirectStart do any good?