~ubuntu-branches/ubuntu/karmic/x11-xserver-utils/karmic

« back to all changes in this revision

Viewing changes to xmodmap/xmodmap.h

  • Committer: Bazaar Package Importer
  • Author(s): Brice Goglin, Julien Cristau, Brice Goglin
  • Date: 2007-08-17 09:58:34 UTC
  • Revision ID: james.westby@ubuntu.com-20070817095834-ywge2nyzj1s3rqnd
Tags: 7.3+1
[ Julien Cristau ]
* iceauth 1.0.2.
  + removes blank line in the manpage (closes: #25285).
* xmodmap 1.0.3.
  + manpage updated to state that -pm is the default (closes: #236198)
* xgamma 1.0.2.
  + the manpage now explains how to print the gamma value more clearly
    (closes: #296021).
* xsetroot 1.0.2.
* xrdb 1.0.4.
  + fixes manpage typo (closes: #276286).
* Add upstream URL to debian/copyright, and update it from xgamma's COPYING
  file.

[ Brice Goglin ]
* Add menu entries for xrefresh and xvidtune.
* sessreg 1.0.3.
* xset 1.0.3.
* Add myself to Uploaders, and remove Branden with his permission.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Xorg: xmodmap.h,v 1.4 2001/02/09 02:05:56 xorgcvs Exp $ */
 
2
/*
 
3
 
 
4
Copyright 1988, 1998  The Open Group
 
5
 
 
6
Permission to use, copy, modify, distribute, and sell this software and its
 
7
documentation for any purpose is hereby granted without fee, provided that
 
8
the above copyright notice appear in all copies and that both that
 
9
copyright notice and this permission notice appear in supporting
 
10
documentation.
 
11
 
 
12
The above copyright notice and this permission notice shall be included
 
13
in all copies or substantial portions of the Software.
 
14
 
 
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
16
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
17
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 
18
IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
 
19
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 
20
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 
21
OTHER DEALINGS IN THE SOFTWARE.
 
22
 
 
23
Except as contained in this notice, the name of The Open Group shall
 
24
not be used in advertising or otherwise to promote the sale, use or
 
25
other dealings in this Software without prior written authorization
 
26
from The Open Group.
 
27
 
 
28
*/
 
29
/* $XFree86: xc/programs/xmodmap/xmodmap.h,v 1.4 2001/01/17 23:46:21 dawes Exp $ */
 
30
 
 
31
extern const char *ProgramName;
 
32
extern Display *dpy;
 
33
extern int min_keycode, max_keycode;
 
34
extern Bool verbose;
 
35
extern Bool dontExecute;
 
36
extern const char *inputFilename;
 
37
extern int lineno;
 
38
extern int parse_errors;
 
39
 
 
40
extern void initialize_map(void);
 
41
extern void process_file(const char *filename);
 
42
extern void process_line(char *buffer);
 
43
extern void handle_line(char *line, int len);
 
44
extern void print_work_queue(void);
 
45
extern int execute_work_queue(void);
 
46
extern void print_modifier_map(void);
 
47
extern void print_key_table(Bool exprs);
 
48
extern void print_pointer_map(void);
 
49
 
 
50
extern int UpdateModifierMapping(XModifierKeymap *map);
 
51
extern int AddModifier(XModifierKeymap **mapp, KeyCode keycode, int modifier);
 
52
extern int RemoveModifier(XModifierKeymap **mapp, KeyCode keycode, 
 
53
                          int modifier);
 
54
extern int ClearModifier(XModifierKeymap **mapp, int modifier);
 
55
extern void PrintModifierMapping(XModifierKeymap *map, FILE *fp);
 
56
extern void PrintKeyTable(Bool exprs, FILE *fp);
 
57
extern void PrintPointerMap(FILE *fp);
 
58
extern int SetPointerMap(unsigned char *map, int n);
 
59
 
 
60
extern void *chk_malloc(size_t n_bytes);