summaryrefslogtreecommitdiff
path: root/capplets/common
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-01-02 20:17:06 +0100
committerStefano Karapetsas <[email protected]>2013-01-02 20:17:06 +0100
commit088a9625513cc7cb5c8b4d5f18573c4ae42b488f (patch)
treeb78d88a6059f64820d76dfa07b472b12a4e33219 /capplets/common
parent17d2ea57491246b3ac68d94d9a1cd29a91b5409b (diff)
downloadmate-control-center-088a9625513cc7cb5c8b4d5f18573c4ae42b488f.tar.bz2
mate-control-center-088a9625513cc7cb5c8b4d5f18573c4ae42b488f.tar.xz
appearance: Set metacity theme if compiz or metacity are running
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 */