summaryrefslogtreecommitdiffstats
path: root/panels/keyboard/wm-common.h
blob: 461c0573d9406ec14ee9d8da9f525eb4c0153c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#define WM_COMMON_METACITY "Metacity"
#define WM_COMMON_SAWFISH  "Sawfish"
#define WM_COMMON_UNKNOWN  "Unknown"

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