Update local copy of GPLv2 and FSF address in copyrights
[wmaker-crm.git] / src / keybind.h
blobe8b503c4e97ea1e2a96f8439a40a3d18c30060c4
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 /* screen */
90 WKBD_SWITCH_SCREEN,
92 #ifdef KEEP_XKB_LOCK_STATUS
93 WKBD_TOGGLE,
94 #endif
95 /* keep this last */
96 WKBD_LAST
99 typedef struct WShortKey {
100 unsigned int modifier;
101 KeyCode keycode;
102 } WShortKey;
104 void wKeyboardInitialize();
106 #endif /* WMKEYBIND_H */