How can I tell which window manager my app is running under?



Hi,

How can I tell which window manager my application is running under?

Can't seem to see any kind of Gtk nor Gdk calls to determine this.

The end result I'm trying to achieve is bind of the Control-Printscreen key to a specialised screen capture utility.

Figured out a solution that works for metacity (writing to it's registry), however each different window manager requires a different approach.

So, I'm looking for a way to tell which approach to use.

Regards and best wishes,

Justin Clift

--
Salasaga  -  Open Source eLearning IDE
              http://www.salasaga.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]