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,
25
#define WKBD_ROOTMENU 0
26
#define WKBD_WINDOWMENU 1
27
#define WKBD_WINDOWLIST 2
29
#define WKBD_MINIATURIZE 3
31
#define WKBD_HIDE_OTHERS 5
32
#define WKBD_MAXIMIZE 6
33
#define WKBD_VMAXIMIZE 7
34
#define WKBD_HMAXIMIZE 8
37
#define WKBD_CLIPLOWER 10
38
#define WKBD_CLIPRAISE 11
39
#define WKBD_CLIPRAISELOWER 12
43
#define WKBD_RAISELOWER 15
44
#define WKBD_MOVERESIZE 16
49
#define WKBD_FOCUSNEXT 19
50
#define WKBD_FOCUSPREV 20
52
#define WKBD_WORKSPACE1 21
53
#define WKBD_WORKSPACE2 22
54
#define WKBD_WORKSPACE3 23
55
#define WKBD_WORKSPACE4 24
56
#define WKBD_WORKSPACE5 25
57
#define WKBD_WORKSPACE6 26
58
#define WKBD_WORKSPACE7 27
59
#define WKBD_WORKSPACE8 28
60
#define WKBD_WORKSPACE9 29
61
#define WKBD_WORKSPACE10 30
62
#define WKBD_NEXTWORKSPACE 31
63
#define WKBD_PREVWORKSPACE 32
64
#define WKBD_NEXTWSLAYER 33
65
#define WKBD_PREVWSLAYER 34
67
/* window shortcuts */
68
#define WKBD_WINDOW1 35
69
#define WKBD_WINDOW2 36
70
#define WKBD_WINDOW3 37
71
#define WKBD_WINDOW4 38
72
#define WKBD_WINDOW5 39
73
#define WKBD_WINDOW6 40
74
#define WKBD_WINDOW7 41
75
#define WKBD_WINDOW8 42
76
#define WKBD_WINDOW9 43
77
#define WKBD_WINDOW10 44
79
#define WKBD_SWITCH_SCREEN 45
81
#ifdef KEEP_XKB_LOCK_STATUS
82
# define WKBD_TOGGLE 46
88
#ifdef VIRTUAL_DESKTOP
89
# define WKBD_VDESK_LEFT WKBD_TMP
90
# define WKBD_VDESK_RIGHT (WKBD_TMP+1)
91
# define WKBD_VDESK_UP (WKBD_TMP+2)
92
# define WKBD_VDESK_DOWN (WKBD_TMP+3)
93
# define WKBD_LAST (WKBD_TMP+4)
95
# define WKBD_LAST WKBD_TMP
96
#endif /* VIRTUAL_DESKTOP */
99
typedef struct WShortKey {
100
unsigned int modifier;
104
void wKeyboardInitialize();