~ubuntu-branches/ubuntu/precise/xfwm4/precise-proposed

« back to all changes in this revision

Viewing changes to src/keyboard.h

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2006-11-09 16:01:08 UTC
  • mto: (3.1.2 lenny) (1.1.22 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20061109160108-oafawc03w3zymdhw
Tags: upstream-4.3.99.2svn+r23785
ImportĀ upstreamĀ versionĀ 4.3.99.2svn+r23785

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*      $Id: keyboard.h 23128 2006-09-11 20:39:40Z olivier $
 
1
/*      $Id: keyboard.h 23704 2006-11-04 22:36:42Z olivier $
2
2
 
3
3
        This program is free software; you can redistribute it and/or modify
4
4
        it under the terms of the GNU General Public License as published by
28
28
 
29
29
#include <X11/keysym.h>
30
30
 
31
 
typedef struct _MyKey             MyKey;
 
31
typedef struct _MyKey MyKey;
32
32
struct _MyKey
33
33
{
34
34
    KeyCode keycode;
42
42
extern unsigned int SuperMask;
43
43
extern unsigned int HyperMask;
44
44
 
45
 
int  getModifierMap (char *);
46
 
void parseKeyString (Display *, MyKey *, char *);
47
 
void grabKey (Display *, MyKey *, Window);
48
 
void ungrabKeys (Display *, Window);
49
 
void grabButton (Display *, int, int, Window);
50
 
void ungrabButton (Display *, int, int, Window);
51
 
void initModifiers (Display *);
 
45
int                      getModifierMap                         (char *);
 
46
void                     parseKeyString                         (Display *, 
 
47
                                                                 MyKey *, 
 
48
                                                                 char *);
 
49
void                     grabKey                                (Display *, 
 
50
                                                                 MyKey *, 
 
51
                                                                 Window);
 
52
void                     ungrabKeys                             (Display *, 
 
53
                                                                 Window);
 
54
void                     grabButton                             (Display *, 
 
55
                                                                 int, 
 
56
                                                                 int, 
 
57
                                                                 Window);
 
58
void                     ungrabButton                           (Display *, 
 
59
                                                                 int, 
 
60
                                                                 int, 
 
61
                                                                 Window);
 
62
void                     initModifiers                          (Display *);
52
63
 
53
64
#endif /* INC_KEYBOARD_H */