summaryrefslogtreecommitdiff
path: root/capplets/common/wm-common.h
blob: 564c6b9e8b784818505c69b4fca1c5a3c9cda198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef WM_COMMON_H
#define WM_COMMON_H

#define WM_COMMON_MARCO "Marco"
#define WM_COMMON_SAWFISH  "Sawfish"
#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);

#endif /* WM_COMMON_H */