Updating to version 0.20.2
[wmaker-crm.git] / src / keybind.h
blobb3d125e170c8ec86309af0b5f961f76aa0c13600
1 /*
2 * Window Maker window manager
4 * Copyright (c) 1997, 1998 Alfredo K. Kojima
5 *
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
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19 * USA.
22 /* anywhere */
23 #define WKBD_ROOTMENU 0
24 #define WKBD_WINDOWMENU 1
25 #define WKBD_WINDOWLIST 2
26 /* window */
27 #define WKBD_MINIATURIZE 3
28 #define WKBD_HIDE 4
29 #define WKBD_MAXIMIZE 5
30 #define WKBD_VMAXIMIZE 6
31 #define WKBD_SELECT 7
32 /* Clip */
33 #define WKBD_CLIPLOWER 8
34 #define WKBD_CLIPRAISE 9
35 #define WKBD_CLIPRAISELOWER 10
36 /* window, menu */
37 #define WKBD_RAISE 11
38 #define WKBD_LOWER 12
39 #define WKBD_RAISELOWER 13
40 /* window */
41 #define WKBD_SHADE 14
42 /* window, menu */
43 #define WKBD_CLOSE 15
44 /* window */
45 #define WKBD_FOCUSNEXT 16
46 #define WKBD_FOCUSPREV 17
48 #define WKBD_WORKSPACE1 20
49 #define WKBD_WORKSPACE2 21
50 #define WKBD_WORKSPACE3 22
51 #define WKBD_WORKSPACE4 23
52 #define WKBD_WORKSPACE5 24
53 #define WKBD_WORKSPACE6 25
54 #define WKBD_WORKSPACE7 26
55 #define WKBD_WORKSPACE8 27
56 #define WKBD_WORKSPACE9 28
57 #define WKBD_WORKSPACE10 29
58 #define WKBD_NEXTWORKSPACE 30
59 #define WKBD_PREVWORKSPACE 31
60 #define WKBD_NEXTWSLAYER 32
61 #define WKBD_PREVWSLAYER 33
63 #define WKBD_LAST 34
66 typedef struct WShortKey {
67 unsigned int modifier;
68 KeyCode keycode;
69 } WShortKey;
71 void wKeyboardInitialize();