~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to hw/xwin/InitInput.c

Tags: 2:1.10.1-2
* Build xserver-xorg-core-udeb on hurd-i386.  Thanks, Samuel Thibault!
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 */
40
40
 
41
41
#ifdef XWIN_CLIPBOARD
42
 
DISPATCH_PROC(winProcEstablishConnection);
43
 
DISPATCH_PROC(winProcQueryTree);
44
 
DISPATCH_PROC(winProcSetSelectionOwner);
 
42
int winProcEstablishConnection(ClientPtr /* client */);
 
43
int winProcQueryTree(ClientPtr /* client */);
 
44
int winProcSetSelectionOwner(ClientPtr /* client */);
45
45
#endif
46
46
 
47
47
 
52
52
DeviceIntPtr g_pwinPointer;
53
53
DeviceIntPtr g_pwinKeyboard;
54
54
 
55
 
 
56
 
/*
57
 
 * References to external symbols
58
 
 */
59
 
 
60
 
#ifdef HAS_DEVWINDOWS
61
 
extern int                      g_fdMessageQueue;
62
 
#endif
63
 
extern Bool                     g_fXdmcpEnabled;
64
 
#ifdef XWIN_CLIPBOARD
65
 
extern winDispatchProcPtr       winProcEstablishConnectionOrig;
66
 
extern winDispatchProcPtr       winProcQueryTreeOrig;
67
 
#endif
68
 
 
69
 
 
70
55
/* Called from dix/devices.c */
71
56
/*
72
57
 * All of our keys generate up and down transition notifications,
137
122
 
138
123
  g_pwinPointer = AddInputDevice (serverClient, winMouseProc, TRUE);
139
124
  g_pwinKeyboard = AddInputDevice (serverClient, winKeybdProc, TRUE);
140
 
  
141
 
  RegisterPointerDevice (g_pwinPointer);
142
 
  RegisterKeyboardDevice (g_pwinKeyboard);
143
 
 
144
125
  g_pwinPointer->name = strdup("Windows mouse");
145
126
  g_pwinKeyboard->name = strdup("Windows keyboard");
146
127