diff options
author | Stefano Karapetsas <[email protected]> | 2013-04-03 17:16:32 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-04-03 17:16:32 +0200 |
commit | dc37adbba5f85bd968081ff2db18c5a5f9014162 (patch) | |
tree | 72953df6d4cd95a7ac76688d5d82b862c8586ca3 | |
parent | 59c4f64ffba0647465a5dc63d95b53f25418f9bb (diff) | |
download | mate-control-center-dc37adbba5f85bd968081ff2db18c5a5f9014162.tar.bz2 mate-control-center-dc37adbba5f85bd968081ff2db18c5a5f9014162.tar.xz |
Add support for Compiz 0.9.x
-rw-r--r-- | capplets/appearance/appearance-support.c | 1 | ||||
-rw-r--r-- | capplets/common/wm-common.h | 11 |
2 files changed, 7 insertions, 5 deletions
diff --git a/capplets/appearance/appearance-support.c b/capplets/appearance/appearance-support.c index 220e8cfa..42b906cc 100644 --- a/capplets/appearance/appearance-support.c +++ b/capplets/appearance/appearance-support.c @@ -48,6 +48,7 @@ metacity_is_running() current_wm = wm_common_get_current_window_manager (); is_running = (g_strcmp0(current_wm, WM_COMMON_METACITY) == 0) || + (g_strcmp0(current_wm, WM_COMMON_COMPIZ_OLD) == 0) || (g_strcmp0(current_wm, WM_COMMON_COMPIZ) == 0); g_free (current_wm); diff --git a/capplets/common/wm-common.h b/capplets/common/wm-common.h index baa51d3e..6c41f9ba 100644 --- a/capplets/common/wm-common.h +++ b/capplets/common/wm-common.h @@ -1,11 +1,12 @@ #ifndef WM_COMMON_H #define WM_COMMON_H -#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" +#define WM_COMMON_MARCO "Marco" +#define WM_COMMON_SAWFISH "Sawfish" +#define WM_COMMON_METACITY "Metacity" +#define WM_COMMON_COMPIZ "Compiz" +#define WM_COMMON_COMPIZ_OLD "compiz" +#define WM_COMMON_UNKNOWN "Unknown" gchar *wm_common_get_current_window_manager (void); /* Returns a strv of keybinding names for the window manager; |