]> gitweb.factorcode.org Git - factor.git/commitdiff
Added functions needed for cut and paste support.
authorEduardo Cavazos <wayo.cavazos@gmail.com>
Sun, 30 Oct 2005 16:33:28 +0000 (16:33 +0000)
committerEduardo Cavazos <wayo.cavazos@gmail.com>
Sun, 30 Oct 2005 16:33:28 +0000 (16:33 +0000)
contrib/x11/xlib.factor

index e7c4b411e252429485c4c855030583f5bd4769a0..c39758e79e6af34de9381daceeacc3aed67ace44 100644 (file)
@@ -28,6 +28,8 @@ TYPEDEF: XID Colormap
 TYPEDEF: XID GContext
 TYPEDEF: XID KeySym
 
+TYPEDEF: ulong Atom
+
 TYPEDEF: void* Display*
 TYPEDEF: void* Screen*
 TYPEDEF: void* GC
@@ -164,9 +166,9 @@ FUNCTION: Status XSetWindowBackground ( Display* display, Window w, ulong backgr
 FUNCTION: Status XDefineCursor ( Display* display, Window w, Cursor cursor ) ;
 FUNCTION: Status XUndefineCursor ( Display* display, Window w ) ;
 
-!
+! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 ! 4 - Window Information Functions
-!
+! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
 FUNCTION: Status XQueryTree ( Display* display, Window w, Window* root_return, Window* parent_return, Window** children_return, uint* nchildren_return ) ;
 
@@ -204,6 +206,14 @@ FUNCTION: Status XGetWindowAttributes ( Display* display, Window w, XWindowAttri
 
 FUNCTION: boolean XQueryPointer ( Display* display, Window w, Window* root_return, Window* child_return, int* root_x_return, int* root_y_return, int* win_x_return, int* win_y_return, uint* mask_return ) ;
 
+! 4.5 Selections
+
+FUNCTION: int XSetSelectionOwner ( Display* display, Atom selection, Window owner, Time time ) ;
+
+FUNCTION: Window XGetSelectionOwner ( Display* display, Atom selection ) ;
+
+FUNCTION: int XConvertSelection ( Display* display, Atom selection, Atom target, Atom property, Window requestor, Time time ) ;
+
 !
 ! 6 - Color Management Functions
 !