1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +01:00
Files
wmaker/src/keybind.h
dan 4153e2fde4 - Fixed crashing bug in menu.c
- Updated year from 2002 to 2003
2003-01-16 23:30:45 +00:00

95 lines
2.5 KiB
C

/*
* Window Maker window manager
*
* Copyright (c) 1997-2003 Alfredo K. Kojima
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
/* anywhere */
#define WKBD_ROOTMENU 0
#define WKBD_WINDOWMENU 1
#define WKBD_WINDOWLIST 2
/* window */
#define WKBD_MINIATURIZE 3
#define WKBD_HIDE 4
#define WKBD_HIDE_OTHERS 5
#define WKBD_MAXIMIZE 6
#define WKBD_VMAXIMIZE 7
#define WKBD_HMAXIMIZE 8
#define WKBD_SELECT 9
/* Clip */
#define WKBD_CLIPLOWER 10
#define WKBD_CLIPRAISE 11
#define WKBD_CLIPRAISELOWER 12
/* window */
#define WKBD_RAISE 13
#define WKBD_LOWER 14
#define WKBD_RAISELOWER 15
#define WKBD_MOVERESIZE 16
#define WKBD_SHADE 17
/* window, menu */
#define WKBD_CLOSE 18
/* window */
#define WKBD_FOCUSNEXT 19
#define WKBD_FOCUSPREV 20
#define WKBD_WORKSPACE1 21
#define WKBD_WORKSPACE2 22
#define WKBD_WORKSPACE3 23
#define WKBD_WORKSPACE4 24
#define WKBD_WORKSPACE5 25
#define WKBD_WORKSPACE6 26
#define WKBD_WORKSPACE7 27
#define WKBD_WORKSPACE8 28
#define WKBD_WORKSPACE9 29
#define WKBD_WORKSPACE10 30
#define WKBD_NEXTWORKSPACE 31
#define WKBD_PREVWORKSPACE 32
#define WKBD_NEXTWSLAYER 33
#define WKBD_PREVWSLAYER 34
/* window shortcuts */
#define WKBD_WINDOW1 35
#define WKBD_WINDOW2 36
#define WKBD_WINDOW3 37
#define WKBD_WINDOW4 38
#define WKBD_WINDOW5 39
#define WKBD_WINDOW6 40
#define WKBD_WINDOW7 41
#define WKBD_WINDOW8 42
#define WKBD_WINDOW9 43
#define WKBD_WINDOW10 44
#define WKBD_SWITCH_SCREEN 45
#ifdef KEEP_XKB_LOCK_STATUS
# define WKBD_TOGGLE 46
# define WKBD_LAST 47
#else
# define WKBD_LAST 46
#endif /* KEEP_XKB_LOCK_STATUS */
typedef struct WShortKey {
unsigned int modifier;
KeyCode keycode;
} WShortKey;
void wKeyboardInitialize();