- Implement interprocess clipboard communication. - Support for the PRIMARY and CLIPBOARD selection atoms. - Support for the TARGETS selection format. - Expose native Windows clipboard formats through X selection targets.
diff --git a/include/x11drv.h b/include/x11drv.h index e6921ce..e02f73c 100644 --- a/include/x11drv.h +++ b/include/x11drv.h
@@ -313,11 +313,17 @@ extern struct tagCLIPBOARD_DRIVER X11DRV_CLIPBOARD_Driver; -extern void X11DRV_CLIPBOARD_Empty(void); +extern void X11DRV_CLIPBOARD_Acquire(void); +extern void X11DRV_CLIPBOARD_Release(void); extern void X11DRV_CLIPBOARD_SetData(UINT wFormat); extern BOOL X11DRV_CLIPBOARD_GetData(UINT wFormat); +extern BOOL X11DRV_CLIPBOARD_IsFormatAvailable(UINT wFormat); +extern BOOL X11DRV_CLIPBOARD_RegisterFormat( LPCSTR FormatName ); +extern BOOL X11DRV_CLIPBOARD_IsSelectionowner(); +extern UINT X11DRV_CLIPBOARD_MapPropertyToFormat(char *itemFmtName); +extern Atom X11DRV_CLIPBOARD_MapFormatToProperty(UINT id); extern void X11DRV_CLIPBOARD_ResetOwner(struct tagWND *pWnd, BOOL bFooBar); -extern void X11DRV_CLIPBOARD_ReleaseSelection(Window w, HWND hwnd); +extern void X11DRV_CLIPBOARD_ReleaseSelection(Atom selType, Window w, HWND hwnd); /* X11 desktop driver */