x42 / xjadeo

X JAck viDEo mOnitor: a tool that displays a video clip in sync with an external time source (jack-transport, LTC and MTC). Applications include: soundtrack composition/editing, video monitoring and -installations.
http://xjadeo.sf.net/
GNU General Public License v2.0
43 stars 7 forks source link

WINPOSX is not read from configuration file #27

Open asuffke opened 6 years ago

asuffke commented 6 years ago

Hi,

I have two monitors and want to execute xjadeo on the second one, which starts at 1920x0. After configuring WINPOSX to 1920, xjadeo still opens on position 0x0. After checking sources, two issues have been found.

First: Within configfile.c, WINPOS gets read before WINPOSX. But because of the string match, WINPOS gets always read and never WINPOSX.

Second: After using the WINPOS, it still not works. Reason is that Y coordinate was still set to 0. Within function js_apply of xjadeo.c, js_winx and js_winy are set if both are different to 0.

Solution for that situation was for me, to set Y coordinate to 1. But then there is a white line visible.