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



Hi, Justin.

gdk_x11_screen_get_window_manager_name ()

On Sat, 2008-04-19 at 23:48 +1000, Justin Clift wrote:
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





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