summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-06-15 23:48:12 +0000
committerVincent Untz <vuntz@src.gnome.org>2007-06-15 23:48:12 +0000
commite8353fb29f669040bcb13a1c23513e6bdc99a260 (patch)
treeedeb58e824d9ecf606005e0e8e21bcfc5647e87e /doc
parent9a0a6f926e2da0a380cfcaa9ce1731f4ea7625fa (diff)
downloadlibwnck-e8353fb29f669040bcb13a1c23513e6bdc99a260.tar.gz
Add API to get the name of the running window manager. Fix bug #448043.
2007-06-16 Vincent Untz <vuntz@gnome.org> Add API to get the name of the running window manager. Fix bug #448043. * doc/libwnck-sections.txt: * doc/tmpl/screen.sgml: updated * libwnck/screen.[ch]: (wnck_screen_class_init): add new window_manager_changed signal (wnck_screen_finalize): free wm name (wnck_screen_construct): we need to update information about the wm (_wnck_screen_process_property_notify): queue update for wm if the hint is _NET_SUPPORTING_WM_CHECK (update_wm): new, get the wm name (do_update_now): update the wm information (emit_wm_changed): new, emit window_manager_changed signal (wnck_screen_get_window_manager_name): new * libwnck/wnckprop.c: (print_props): print the name of the window manager running on the screen svn path=/trunk/; revision=1314
Diffstat (limited to 'doc')
-rw-r--r--doc/libwnck-sections.txt1
-rw-r--r--doc/tmpl/screen.sgml16
2 files changed, 17 insertions, 0 deletions
diff --git a/doc/libwnck-sections.txt b/doc/libwnck-sections.txt
index 6270c59..56dda5b 100644
--- a/doc/libwnck-sections.txt
+++ b/doc/libwnck-sections.txt
@@ -184,6 +184,7 @@ wnck_screen_get_number
wnck_screen_get_width
wnck_screen_get_height
wnck_screen_force_update
+wnck_screen_get_window_manager_name
wnck_screen_net_wm_supports
wnck_screen_get_active_window
wnck_screen_get_previously_active_window
diff --git a/doc/tmpl/screen.sgml b/doc/tmpl/screen.sgml
index 443fd80..901b6fd 100644
--- a/doc/tmpl/screen.sgml
+++ b/doc/tmpl/screen.sgml
@@ -100,6 +100,13 @@ WnckScreen
@wnckscreen: the object which received the signal.
@arg1:
+<!-- ##### SIGNAL WnckScreen::window-manager-changed ##### -->
+<para>
+
+</para>
+
+@wnckscreen: the object which received the signal.
+
<!-- ##### SIGNAL WnckScreen::window-opened ##### -->
<para>
@@ -192,6 +199,15 @@ WnckScreen
@screen:
+<!-- ##### FUNCTION wnck_screen_get_window_manager_name ##### -->
+<para>
+
+</para>
+
+@screen:
+@Returns:
+
+
<!-- ##### FUNCTION wnck_screen_net_wm_supports ##### -->
<para>