Maximus: Tiled Maximization
[wmaker-crm.git] / src / keybind.h
1 /*
2 * Window Maker window manager
3 *
4 * Copyright (c) 1997-2003 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.
10 *
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.
15 *
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.
20 */
21
22
23 enum {
24 /* anywhere */
25 WKBD_ROOTMENU,
26 WKBD_WINDOWMENU,
27 WKBD_WINDOWLIST,
28
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
48 /* window, menu */
49 WKBD_CLOSE,
50
51 /* Clip */
52 WKBD_CLIPLOWER,
53 WKBD_CLIPRAISE,
54 WKBD_CLIPRAISELOWER,
55
56 /* workspace */
57 WKBD_WORKSPACE1,
58 WKBD_WORKSPACE2,
59 WKBD_WORKSPACE3,
60 WKBD_WORKSPACE4,
61 WKBD_WORKSPACE5,
62 WKBD_WORKSPACE6,
63 WKBD_WORKSPACE7,
64 WKBD_WORKSPACE8,
65 WKBD_WORKSPACE9,
66 WKBD_WORKSPACE10,
67 WKBD_NEXTWORKSPACE,
68 WKBD_PREVWORKSPACE,
69 WKBD_NEXTWSLAYER,
70 WKBD_PREVWSLAYER,
71
72 /* window shortcuts */
73 WKBD_WINDOW1,
74 WKBD_WINDOW2,
75 WKBD_WINDOW3,
76 WKBD_WINDOW4,
77 WKBD_WINDOW5,
78 WKBD_WINDOW6,
79 WKBD_WINDOW7,
80 WKBD_WINDOW8,
81 WKBD_WINDOW9,
82 WKBD_WINDOW10,
83
84 /* screen */
85 WKBD_SWITCH_SCREEN,
86
87 #ifdef KEEP_XKB_LOCK_STATUS
88 WKBD_TOGGLE,
89 #endif
90
91 #ifdef VIRTUAL_DESKTOP
92 WKBD_VDESK_LEFT,
93 WKBD_VDESK_RIGHT,
94 WKBD_VDESK_UP,
95 WKBD_VDESK_DOWN,
96 #endif
97 /* keep this last */
98 WKBD_LAST
99 };
100
101 typedef struct WShortKey {
102 unsigned int modifier;
103 KeyCode keycode;
104 } WShortKey;
105
106 void wKeyboardInitialize();