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