Rename INSTALL.pt
[wmaker-crm.git] / src / keybind.h
blob18b1ac6b799797cd414e734fe5b54fc35fb89526
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
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.
23 enum {
24 /* anywhere */
25 WKBD_ROOTMENU,
26 WKBD_WINDOWMENU,
27 WKBD_WINDOWLIST,
29 /* window */
30 WKBD_MINIATURIZE,
31 WKBD_HIDE,
32 WKBD_HIDE_OTHERS,
33 WKBD_MAXIMIZE,
34 WKBD_VMAXIMIZE,
35 WKBD_HMAXIMIZE,
36 WKBD_LHMAXIMIZE,
37 WKBD_RHMAXIMIZE,
38 WKBD_MAXIMUS,
39 WKBD_SELECT,
40 WKBD_RAISE,
41 WKBD_LOWER,
42 WKBD_RAISELOWER,
43 WKBD_MOVERESIZE,
44 WKBD_SHADE,
45 WKBD_FOCUSNEXT,
46 WKBD_FOCUSPREV,
47 WKBD_GROUPNEXT,
48 WKBD_GROUPPREV,
50 /* window, menu */
51 WKBD_CLOSE,
53 /* Dock */
54 WKBD_DOCKRAISELOWER,
56 /* Clip */
57 WKBD_CLIPRAISELOWER,
59 /* workspace */
60 WKBD_WORKSPACE1,
61 WKBD_WORKSPACE2,
62 WKBD_WORKSPACE3,
63 WKBD_WORKSPACE4,
64 WKBD_WORKSPACE5,
65 WKBD_WORKSPACE6,
66 WKBD_WORKSPACE7,
67 WKBD_WORKSPACE8,
68 WKBD_WORKSPACE9,
69 WKBD_WORKSPACE10,
70 WKBD_NEXTWORKSPACE,
71 WKBD_PREVWORKSPACE,
72 WKBD_NEXTWSLAYER,
73 WKBD_PREVWSLAYER,
75 /* window shortcuts */
76 WKBD_WINDOW1,
77 WKBD_WINDOW2,
78 WKBD_WINDOW3,
79 WKBD_WINDOW4,
80 WKBD_WINDOW5,
81 WKBD_WINDOW6,
82 WKBD_WINDOW7,
83 WKBD_WINDOW8,
84 WKBD_WINDOW9,
85 WKBD_WINDOW10,
87 /* screen */
88 WKBD_SWITCH_SCREEN,
90 #ifdef KEEP_XKB_LOCK_STATUS
91 WKBD_TOGGLE,
92 #endif
93 /* keep this last */
94 WKBD_LAST
97 typedef struct WShortKey {
98 unsigned int modifier;
99 KeyCode keycode;
100 } WShortKey;
102 void wKeyboardInitialize();