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

I think you need to query Xinerama rather than libwnck, and I don't
know if the former is wrapped in Pythony goodness.  At least, after
poking around libwnck for a fair bit (and looking at the metacity
source), I had to use Xinerama [1] for a recent C project of mine
(superswitcher): http://www.gnomefiles.org/app.php?soft_id=1231

You might also want to search the libwnck bugs in case other people
have asked for this before.

[1] Of course, I'd be happy to be proven wrong.  :-)
_______________________________________________
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