summaryrefslogtreecommitdiff
path: root/capplets/common
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/common')
-rw-r--r--capplets/common/wm-common.c6
-rw-r--r--capplets/common/wm-common.h5
2 files changed, 9 insertions, 2 deletions
diff --git a/capplets/common/wm-common.c b/capplets/common/wm-common.c
index acf9e431..325a58d2 100644
--- a/capplets/common/wm-common.c
+++ b/capplets/common/wm-common.c
@@ -181,4 +181,8 @@ wm_common_register_window_manager_change (GFunc func,
XSync (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), False);
}
-
+void
+wm_common_update_window ()
+{
+ update_wm_window();
+}
diff --git a/capplets/common/wm-common.h b/capplets/common/wm-common.h
index 564c6b9e..baa51d3e 100644
--- a/capplets/common/wm-common.h
+++ b/capplets/common/wm-common.h
@@ -1,8 +1,10 @@
#ifndef WM_COMMON_H
#define WM_COMMON_H
-#define WM_COMMON_MARCO "Marco"
+#define WM_COMMON_MARCO "Marco"
#define WM_COMMON_SAWFISH "Sawfish"
+#define WM_COMMON_METACITY "Metacity"
+#define WM_COMMON_COMPIZ "compiz"
#define WM_COMMON_UNKNOWN "Unknown"
gchar *wm_common_get_current_window_manager (void);
@@ -12,6 +14,7 @@ char **wm_common_get_current_keybindings (void);
void wm_common_register_window_manager_change (GFunc func,
gpointer data);
+void wm_common_update_window (void);
#endif /* WM_COMMON_H */