summaryrefslogtreecommitdiff
path: root/capplets/common/wm-common.h
blob: baa51d3ed916fd2e268ac8de069b6dbd558f5fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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"

gchar *wm_common_get_current_window_manager (void);
/* Returns a strv of keybinding names for the window manager;
 * using _MATE_WM_KEYBINDINGS if available, _NET_WM_NAME otherwise. */
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 */