list of modules with dual monitor problems Thread last updated on 2004-02-12 15:51:37

Posted by member 5669 on 2004-02-11 07:15:21

so i was tinkering with dual monitors tonight and i loaded up my default theme (http://students.seatteu.edu/connolb/mac_loser.jpg) and the theme works perfectly with the exception of two modules: xlabel and vtray. they don't reference the second monitor as the point of origin for negative coordinates which places the labels and tray on the left monitor and not the right one. i guess what i'm saying is that layercut works fine with duals, but vtray and xlabel do not.

what other modules have this problem? how easy would it be to fix this problem?

Posted by member 99 on 2004-02-11 21:31:14 link

I would say that modules that used the second monitor as a reference are broken. It's all but impossible to make a theme that will work on other computers with that model. If they always stick with the primary monitor, at least themes designed for single-monitor systems will still work.

(wasn't able to get at the ss, maybe I'm misinterpreting you)

Also, anything positioned with $ResolutionX/Y$ will be on the primary monitor.

Posted by member 5669 on 2004-02-11 22:38:36 link

hmm well it's no biggie, i can just use something like LabelX 2500 instead of -60 :P

Posted by member 5669 on 2004-02-11 22:39:37 link

Posted by member 1 on 2004-02-12 00:28:21 link

if I remember correctly when the Resolution evars were originally created there was a second set done, I wanna say $Resolution1X$ and $Resolution2X$ and so on based on how many screens you had. This may have been thrown away since...but I am pretty sure it was originally in there.

Posted by member 99 on 2004-02-12 11:36:48 link

For a while $ResolutionX/Y$ was the entire desktop. I don't know exactly why or when it stopped, but it made me happy because that had always made negative coordinates useless on my machine. I think the reasons are fairly clear if you move your second monitor anywhere but the right side at exactly the same resolution.

Sorry that that's not terribly useful at the moment. :/

Posted by member 5669 on 2004-02-12 15:51:37 link

well if ls can recognize the monitors as being ONE monitor then it shouldn't be a problem. for instance if there is one monitor present, then ResolutionX is 1280 but if there are two, then it would 2560.

i think it kind of depends on the video card and how it handles dual monitors though... i dunno.