Added option to 'configure' to control debug information for compilation
[wmaker-crm.git] / src / keybind.h
blob99137d8b5025ae3394b73216aafd5ae28eaaaae5
1 /*
2 * Window Maker window manager
4 * Copyright (c) 1997-2003 Alfredo K. Kojima
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef WMKEYBIND_H
22 #define WMKEYBIND_H
24 enum {
25 /* anywhere */
26 WKBD_ROOTMENU,
27 WKBD_WINDOWMENU,
28 WKBD_WINDOWLIST,
30 /* window */
31 WKBD_MINIATURIZE,
32 WKBD_MINIMIZEALL,
33 WKBD_HIDE,
34 WKBD_HIDE_OTHERS,
35 WKBD_MAXIMIZE,
36 WKBD_VMAXIMIZE,
37 WKBD_HMAXIMIZE,
38 WKBD_LHMAXIMIZE,
39 WKBD_RHMAXIMIZE,
40 WKBD_MAXIMUS,
41 WKBD_SELECT,
42 WKBD_RAISE,
43 WKBD_LOWER,
44 WKBD_RAISELOWER,
45 WKBD_MOVERESIZE,
46 WKBD_SHADE,
47 WKBD_FOCUSNEXT,
48 WKBD_FOCUSPREV,
49 WKBD_GROUPNEXT,
50 WKBD_GROUPPREV,
52 /* window, menu */
53 WKBD_CLOSE,
55 /* Dock */
56 WKBD_DOCKRAISELOWER,
58 /* Clip */
59 WKBD_CLIPRAISELOWER,
61 /* workspace */
62 WKBD_WORKSPACE1,
63 WKBD_WORKSPACE2,
64 WKBD_WORKSPACE3,
65 WKBD_WORKSPACE4,
66 WKBD_WORKSPACE5,
67 WKBD_WORKSPACE6,
68 WKBD_WORKSPACE7,
69 WKBD_WORKSPACE8,
70 WKBD_WORKSPACE9,
71 WKBD_WORKSPACE10,
72 WKBD_NEXTWORKSPACE,
73 WKBD_PREVWORKSPACE,
74 WKBD_NEXTWSLAYER,
75 WKBD_PREVWSLAYER,
77 /* window shortcuts */
78 WKBD_WINDOW1,
79 WKBD_WINDOW2,
80 WKBD_WINDOW3,
81 WKBD_WINDOW4,
82 WKBD_WINDOW5,
83 WKBD_WINDOW6,
84 WKBD_WINDOW7,
85 WKBD_WINDOW8,
86 WKBD_WINDOW9,
87 WKBD_WINDOW10,
89 /* launch a new instance of the active window */
90 WKBD_RELAUNCH,
92 /* screen */
93 WKBD_SWITCH_SCREEN,
95 #ifdef KEEP_XKB_LOCK_STATUS
96 WKBD_TOGGLE,
97 #endif
98 /* keep this last */
99 WKBD_LAST
102 typedef struct WShortKey {
103 unsigned int modifier;
104 KeyCode keycode;
105 } WShortKey;
107 void wKeyboardInitialize();
109 #endif /* WMKEYBIND_H */