Popup location, hotspots and multi-monitors Thread last updated on 2004-01-07 18:34:56

Posted by member 2112 on 2004-01-07 18:31:18

I have the following code in my theme to display Popuptasks using a hotspot in the bottom right hand corner of the screen...
allLeft 0
allTop 0
priLeft $0-allLeft$
priTop $0-allTop$
priRight $ResolutionX-allLeft$
priBottom $ResolutionY-allTop$

*ckHotspot $priRight-1$ $priBottom-1$ 1 1 "!execute [!PopupTasks x=$priRight$ y=$priBottom$ right bottom]" !none tasks on


This works very nicely on single monitors and dual monitors, provided that the primary monitor is a different resolution to secondary monitor.

If both monitors are running the same resolution !PopupTasks appear against the left edge of the secondary monitor instead of the right edge of the primary monitor.

The odd thing is that if use lsxcommand to execute the same bang as used in the hotspot !PopupTasks appears where it should.

Anyone know what's going on?

Posted by member 2112 on 2004-01-07 18:34:56 link

Ignore this. If I had thought about it for 5 more seconds I wouldn't have had to post this. It had nothing to do with the hotspots or PopupTasks.