gnome-control-center/panels/keyboard/wm-common.h
Bastien Nocera 6c43ebe3b0 keyboard: Make it possible to stop watching for WM changes
As we don't want to be doing that anymore if we're not in the keyboard
panel anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=736117
2014-09-05 14:15:59 +02:00

18 lines
585 B
C

#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);
/* Returns a strv of keybinding names for the window manager;
* using _GNOME_WM_KEYBINDINGS if available, _NET_WM_NAME otherwise. */
char **wm_common_get_current_keybindings (void);
gpointer wm_common_register_window_manager_change (GFunc func,
gpointer data);
void wm_common_unregister_window_manager_change (gpointer id);
#endif /* WM_COMMON_H */