/[rdesktop]/sourceforge.net/trunk/rdesktop/xkeymap.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/xkeymap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 69 by astrand, Sat Jul 27 22:35:38 2002 UTC revision 77 by astrand, Mon Jul 29 20:17:10 2002 UTC
# Line 35  Line 35 
35  extern Display *display;  extern Display *display;
36  extern char keymapname[16];  extern char keymapname[16];
37  extern int keylayout;  extern int keylayout;
38    extern BOOL enable_compose;
39    
40  static key_translation keymap[KEYMAP_SIZE];  static key_translation keymap[KEYMAP_SIZE];
41  static unsigned int min_keycode;  static int min_keycode;
42  static uint16 remote_modifier_state = 0;  static uint16 remote_modifier_state = 0;
43    
44  static void  static void
# Line 120  xkeymap_read(char *mapname) Line 121  xkeymap_read(char *mapname)
121                          continue;                          continue;
122                  }                  }
123    
124                    /* compose */
125                    if (strncmp(line, "enable_compose", 15) == 0)
126                    {
127                            DEBUG_KBD("Enabling compose handling\n");
128                            enable_compose = True;
129                            continue;
130                    }
131    
132                  /* Comment */                  /* Comment */
133                  if (line[0] == '#')                  if (line[0] == '#')
134                  {                  {
# Line 211  void Line 220  void
220  xkeymap_init2(void)  xkeymap_init2(void)
221  {  {
222          unsigned int max_keycode;          unsigned int max_keycode;
223          XDisplayKeycodes(display, &min_keycode, &max_keycode);          XDisplayKeycodes(display, &min_keycode, (int *) &max_keycode);
224  }  }
225    
226    

Legend:
Removed from v.69  
changed lines
  Added in v.77

  ViewVC Help
Powered by ViewVC 1.1.26