Keyboard shortcut to raise the dock
[wmaker-crm.git] / src / keybind.h
Commit [+]AuthorDateLineData
9d2e6ef9 scottc1998-09-29 22:36:29 +00001/*
9af1c6c4 dan1998-10-21 14:43:47 +00002 * Window Maker window manager
9d2e6ef9 scottc1998-09-29 22:36:29 +00003 *
4153e2fd dan2003-01-16 23:30:45 +00004 * Copyright (c) 1997-2003 Alfredo K. Kojima
6830b057 dan2004-10-12 21:28:27 +00005 *
9d2e6ef9 scottc1998-09-29 22:36:29 +00006 * 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
6830b057 dan2004-10-12 21:28:27 +000018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
9d2e6ef9 scottc1998-09-29 22:36:29 +000019 * USA.
20 */
21
0261c326 dan1999-01-06 15:22:33 +000022
b37e0652
TT
Tamas TEVESZ2009-08-31 20:50:30 +020023enum {
24 /* anywhere */
25 WKBD_ROOTMENU,
26 WKBD_WINDOWMENU,
27 WKBD_WINDOWLIST,
0261c326 dan1999-01-06 15:22:33 +000028
b37e0652
TT
Tamas TEVESZ2009-08-31 20:50:30 +020029 /* 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,
cf62d159 Carlos R. Mafra2009-09-02 01:37:47 +020038 WKBD_MAXIMUS,
b37e0652
TT
Tamas TEVESZ2009-08-31 20:50:30 +020039 WKBD_SELECT,
40 WKBD_RAISE,
41 WKBD_LOWER,
42 WKBD_RAISELOWER,
43 WKBD_MOVERESIZE,
44 WKBD_SHADE,
45 WKBD_FOCUSNEXT,
46 WKBD_FOCUSPREV,
18408fff
IP
Iain Patterson2009-09-14 14:37:15 +010047 WKBD_GROUPNEXT,
48 WKBD_GROUPPREV,
9d2e6ef9 scottc1998-09-29 22:36:29 +000049
b37e0652
TT
Tamas TEVESZ2009-08-31 20:50:30 +020050 /* window, menu */
51 WKBD_CLOSE,
9d2e6ef9 scottc1998-09-29 22:36:29 +000052
b6689a01
BJ
Brad Jorsch2010-01-06 12:50:36 -050053 /* Dock */
54 WKBD_DOCKRAISELOWER,
55
b37e0652
TT
Tamas TEVESZ2009-08-31 20:50:30 +020056 /* Clip */
57 WKBD_CLIPLOWER,
58 WKBD_CLIPRAISE,
59 WKBD_CLIPRAISELOWER,
d9d5a522 kojima2000-11-09 17:42:20 +000060
b37e0652
TT
Tamas TEVESZ2009-08-31 20:50:30 +020061 /* 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,
76
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,
88
89 /* screen */
90 WKBD_SWITCH_SCREEN,
d9d5a522 kojima2000-11-09 17:42:20 +000091
92#ifdef KEEP_XKB_LOCK_STATUS
b37e0652 Tamas TEVESZ2009-08-31 20:50:30 +020093 WKBD_TOGGLE,
9aca0d5f dan2004-10-12 01:34:32 +000094#endif
95
96#ifdef VIRTUAL_DESKTOP
b37e0652
TT
Tamas TEVESZ2009-08-31 20:50:30 +020097 WKBD_VDESK_LEFT,
98 WKBD_VDESK_RIGHT,
99 WKBD_VDESK_UP,
100 WKBD_VDESK_DOWN,
101#endif
102 /* keep this last */
103 WKBD_LAST
104};
9d2e6ef9 scottc1998-09-29 22:36:29 +0000105
106typedef struct WShortKey {
107 unsigned int modifier;
108 KeyCode keycode;
109} WShortKey;
110
111void wKeyboardInitialize();