diff options
Diffstat (limited to 'xorg-server/hw/xwin/winclipboard.h')
-rw-r--r-- | xorg-server/hw/xwin/winclipboard.h | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/xorg-server/hw/xwin/winclipboard.h b/xorg-server/hw/xwin/winclipboard.h index 41acfecce..d430b343f 100644 --- a/xorg-server/hw/xwin/winclipboard.h +++ b/xorg-server/hw/xwin/winclipboard.h @@ -58,12 +58,11 @@ typedef int pid_t; /* Windows headers */ #include <X11/Xwindows.h> - /* Clipboard module constants */ #define WIN_CLIPBOARD_WINDOW_CLASS "xwinclip" #define WIN_CLIPBOARD_WINDOW_TITLE "xwinclip" #ifdef HAS_DEVWINDOWS -# define WIN_MSG_QUEUE_FNAME "/dev/windows" +#define WIN_MSG_QUEUE_FNAME "/dev/windows" #endif #define WIN_CONNECT_RETRIES 40 #define WIN_CONNECT_DELAY 4 @@ -82,68 +81,56 @@ typedef int pid_t; */ extern char *display; - /* * winclipboardinit.c */ Bool -winInitClipboard (void); - -HWND -winClipboardCreateMessagingWindow (void); + winInitClipboard(void); +HWND winClipboardCreateMessagingWindow(void); /* * winclipboardtextconv.c */ void -winClipboardDOStoUNIX (char *pszData, int iLength); + winClipboardDOStoUNIX(char *pszData, int iLength); void -winClipboardUNIXtoDOS (unsigned char **ppszData, int iLength); - + winClipboardUNIXtoDOS(unsigned char **ppszData, int iLength); /* * winclipboardthread.c */ -void * -winClipboardProc (void *); +void *winClipboardProc(void *); void -winDeinitClipboard (void); - + winDeinitClipboard(void); /* * winclipboardunicode.c */ Bool -winClipboardDetectUnicodeSupport (void); - + winClipboardDetectUnicodeSupport(void); /* * winclipboardwndproc.c */ -BOOL -winClipboardFlushWindowsMessageQueue (HWND hwnd); +BOOL winClipboardFlushWindowsMessageQueue(HWND hwnd); LRESULT CALLBACK -winClipboardWindowProc (HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam); - +winClipboardWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); /* * winclipboardxevents.c */ int -winClipboardFlushXEvents (HWND hwnd, - int iWindow, - Display *pDisplay, - Bool fUnicodeSupport, - Bool ClipboardOpened); + +winClipboardFlushXEvents(HWND hwnd, + int iWindow, Display * pDisplay, Bool fUnicodeSupport, Bool ClipboardOpened); #endif |