How do I find out how many heads X is using?

I'm on a dual-head system at work and would like my program to be able
to detect that and change its behaviour appropriately (I'm moving around
windows and would like them to stay on a single monitor). I have been
looking at the API offered by wnck, it offers all information about the
screen/display/window I need, except for this little detail :-(

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED]             Jabber: [EMAIL PROTECTED]
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

This is a company that looks the world's roughest, toughest anti-trust
regulators in the eye and laughs. Compared to anti-trust people,
copyright lawmakers are pantywaists. You can take them with your arm
behind your back.
     -- Cory Doctorow, Microsoft Research DRM talk

Attachment: pgpRoyWjIKN1P.pgp
Description: PGP signature

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to