Moved window manager detection code from keybindings capplet to common
This commit is contained in:
parent
ebc124d248
commit
cfeb09ab46
6 changed files with 183 additions and 149 deletions
13
capplets/common/wm-common.h
Normal file
13
capplets/common/wm-common.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
#ifndef WM_COMMON_H
|
||||
#define WM_COMMON_H
|
||||
|
||||
#define WM_COMMON_METACITY "Metacity"
|
||||
#define WM_COMMON_SAWFISH "Sawfish"
|
||||
#define WM_COMMON_UNKNOWN "Unknown"
|
||||
|
||||
gchar *wm_common_get_current_window_manager (void);
|
||||
void wm_common_register_window_manager_change (GFunc func,
|
||||
gpointer data);
|
||||
|
||||
#endif /* WM_COMMON_H */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue