On Fri, Oct 08, 2010 at 10:04:18AM -0700, Jason Weber wrote:
> How would a module determine the boundaries between physical screens?
> EdgeMoveResistance snapping seems to know about it, so the data is in
> there somewhere.
> 
> For example, if I have two monitors 1600x1200 and 1920x1200, querying X11
> about the screen dimensions seems to give me the full 3520x1200.  I'd
> like to know
> about the implicit barrier at x=1600.

Assuming you are talking about Xinerama screens, fvwm sends the
modules a packet whenever the screen layout changes.  The packet
string is "XineramaConfig". Upon receiving such a packet, a module
wopuld call the function FScreenConfigureModule() which stores the
module configuration is structures that can be accessed by the
other helper functions in libs/FScreen.[ch].  For example, with
FScreenGetScrRect() you can find out about the geometry of the
given Xinerama screen.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt

Reply via email to