Types
chararr32 = array[0 .. 31, char]
cunsigned = cint
F {.final.} = object create_image*: proc (para1: PXDisplay; para2: PVisual; para3: cuint; para4: cint; para5: cint; para6: cstring; para7: cuint; para8: cuint; para9: cint; para10: cint): PXImage {.cdecl.} destroy_image*: proc (para1: PXImage): cint {.cdecl.} get_pixel*: proc (para1: PXImage; para2: cint; para3: cint): culong {.cdecl.} put_pixel*: proc (para1: PXImage; para2: cint; para3: cint; para4: culong): cint {. cdecl.} sub_image*: proc (para1: PXImage; para2: cint; para3: cint; para4: cuint; para5: cuint): PXImage {.cdecl.} add_pixel*: proc (para1: PXImage; para2: clong): cint {.cdecl.}
funcifevent = proc (display: PDisplay; event: PXEvent; p: XPointer): XBool {. cdecl.}
Pcint = ptr cint
Pcuchar = cstring
Pcuint = ptr cuint
Pculong = ptr culong
Pcushort = ptr uint16
PPChar = ptr cstring
PPcuchar = ptr ptr char
PPPChar = ptr ptr cstring
PPPXFontStruct = ptr PPXFontStruct
PPXExtData = ptr PXExtData
PPXFontStruct = ptr PXFontStruct
Private {.final.} = object
PScreenFormat = ptr ScreenFormat
PWideChar = ptr int16
PXAnyEvent = ptr XAnyEvent
PXButtonEvent = ptr XButtonEvent
PXCharStruct = ptr XCharStruct
PXEDataObject = ptr XEDataObject
PXErrorEvent = ptr XErrorEvent
PXExposeEvent = ptr XExposeEvent
PXExtCodes = ptr XExtCodes
PXFocusInEvent = ptr XFocusInEvent
PXFontProp = ptr XFontProp
PXFontStruct = ptr XFontStruct
PXGCValues = ptr XGCValues
PXGenericEvent = ptr XGenericEvent
PXGravityEvent = ptr XGravityEvent
PXHostAddress = ptr XHostAddress
PXICCallback = ptr XICCallback
PXIMCallback = ptr XIMCallback
PXIMCaretStyle = ptr XIMCaretStyle
PXIMFeedback = ptr XIMFeedback
PXIMResetState = ptr XIMResetState
PXIMStyles = ptr XIMStyles
PXIMValuesList = ptr XIMValuesList
PXKeyEvent = ptr XKeyEvent
PXKeymapEvent = ptr XKeymapEvent
PXMapEvent = ptr XMapEvent
PXMappingEvent = ptr XMappingEvent
PXmbTextItem = ptr XmbTextItem
PXMotionEvent = ptr XMotionEvent
PXOMFontInfo = ptr XOMFontInfo
PXOrientation = ptr XOrientation
PXPrivDisplay = ptr XPrivDisplay
PXRectangle = ptr XRectangle
PXTextItem = ptr XTextItem
PXTextItem16 = ptr XTextItem16
PXTimeCoord = ptr XTimeCoord
PXUnmapEvent = ptr XUnmapEvent
PXVaNestedList = ptr XVaNestedList
PXwcTextItem = ptr XwcTextItem
Screen {.final.} = object ext_data*: PXExtData display*: PXDisplay root*: Window width*, height*: cint mwidth*, mheight*: cint ndepths*: cint depths*: PDepth root_depth*: cint root_visual*: PVisual default_gc*: GC cmap*: Colormap white_pixel*: culong black_pixel*: culong max_maps*, min_maps*: cint backing_store*: cint save_unders*: XBool root_input_mask*: clong
ScreenFormat {.final.} = object ext_data*: PXExtData depth*: cint bits_per_pixel*: cint scanline_pad*: cint
Status = cint
Visual {.final.} = object ext_data*: PXExtData visualid*: VisualID c_class*: cint red_mask*, green_mask*, blue_mask*: culong bits_per_rgb*: cint map_entries*: cint
XAnyEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window
XArc {.final.} = object x*, y*: cshort width*, height*: cushort angle1*, angle2*: cshort
XBool = cint
XButtonEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window root*: Window subwindow*: Window time*: Time x*, y*: cint x_root*, y_root*: cint state*: cuint button*: cuint same_screen*: XBool
XChar2b {.final.} = object byte1*: char byte2*: char
XCharStruct {.final.} = object lbearing*: cshort rbearing*: cshort width*: cshort ascent*: cshort descent*: cshort attributes*: cushort
XCirculateEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay event*: Window window*: Window place*: cint
XCirculateRequestEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay parent*: Window window*: Window place*: cint
XClientMessageData {.union.} = object b*: array[20, cchar] s*: array[10, cshort] l*: array[5, clong]
XClientMessageEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window message_type*: Atom format*: cint data*: XClientMessageData
XColor {.final.} = object pixel*: culong red*, green*, blue*: cushort flags*: cchar pad*: cchar
XColormapEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window colormap*: Colormap c_new*: XBool state*: cint
XConfigureEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay event*: Window window*: Window x*, y*: cint width*, height*: cint border_width*: cint above*: Window override_redirect*: XBool
XConfigureRequestEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay parent*: Window window*: Window x*, y*: cint width*, height*: cint border_width*: cint above*: Window detail*: cint value_mask*: culong
XConnectionWatchProc = proc (para1: PDisplay; para2: XPointer; para3: cint; para4: XBool; para5: PXPointer) {.cdecl.}
XCreateWindowEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay parent*: Window window*: Window x*, y*: cint width*, height*: cint border_width*: cint override_redirect*: XBool
XCrossingEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window root*: Window subwindow*: Window time*: Time x*, y*: cint x_root*, y_root*: cint mode*: cint detail*: cint same_screen*: XBool focus*: XBool state*: cuint
XDestroyWindowEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay event*: Window window*: Window
XDisplay {.final.} = object
XEDataObject {.final.} = object display*: PDisplay
XErrorEvent {.final.} = object theType*: cint display*: PDisplay resourceid*: XID serial*: culong error_code*: char request_code*: char minor_code*: char
XErrorHandler = proc (para1: PDisplay; para2: PXErrorEvent): cint {.cdecl.}
XEvent {.final, union.} = object theType*: cint xany*: XAnyEvent xkey*: XKeyEvent xbutton*: XButtonEvent xmotion*: XMotionEvent xcrossing*: XCrossingEvent xfocus*: XFocusChangeEvent xexpose*: XExposeEvent xgraphicsexpose*: XGraphicsExposeEvent xnoexpose*: XNoExposeEvent xvisibility*: XVisibilityEvent xcreatewindow*: XCreateWindowEvent xdestroywindow*: XDestroyWindowEvent xunmap*: XUnmapEvent xmap*: XMapEvent xmaprequest*: XMapRequestEvent xreparent*: XReparentEvent xconfigure*: XConfigureEvent xgravity*: XGravityEvent xresizerequest*: XResizeRequestEvent xconfigurerequest*: XConfigureRequestEvent xcirculate*: XCirculateEvent xcirculaterequest*: XCirculateRequestEvent xproperty*: XPropertyEvent xselectionclear*: XSelectionClearEvent xselectionrequest*: XSelectionRequestEvent xselection*: XSelectionEvent xcolormap*: XColormapEvent xclient*: XClientMessageEvent xmapping*: XMappingEvent xerror*: XErrorEvent xkeymap*: XKeymapEvent xgeneric*: XGenericEvent xcookie*: XGenericEventCookie
XExposeEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window x*, y*: cint width*, height*: cint count*: cint
XExtCodes {.final.} = object extension*: cint major_opcode*: cint first_event*: cint first_error*: cint
XExtData {.final.} = object number*: cint next*: PXExtData free_private*: proc (extension: PXExtData): cint {.cdecl.} private_data*: XPointer
XFocusChangeEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window mode*: cint detail*: cint
XFontSetExtents {.final.} = object max_ink_extent*: XRectangle max_logical_extent*: XRectangle
XFontStruct {.final.} = object ext_data*: PXExtData fid*: Font direction*: cunsigned min_char_or_byte2*: cunsigned max_char_or_byte2*: cunsigned min_byte1*: cunsigned max_byte1*: cunsigned all_chars_exist*: XBool default_char*: cunsigned n_properties*: cint properties*: PXFontProp min_bounds*: XCharStruct max_bounds*: XCharStruct per_char*: PXCharStruct ascent*: cint descent*: cint
XGC {.final.} = object
XGCValues {.final.} = object function*: cint plane_mask*: culong foreground*: culong background*: culong line_width*: cint line_style*: cint cap_style*: cint join_style*: cint fill_style*: cint fill_rule*: cint arc_mode*: cint tile*: Pixmap stipple*: Pixmap ts_x_origin*: cint ts_y_origin*: cint font*: Font subwindow_mode*: cint graphics_exposures*: XBool clip_x_origin*: cint clip_y_origin*: cint clip_mask*: Pixmap dash_offset*: cint dashes*: cchar
XGenericEvent {.final.} = object theType*: cint ## of event. Always GenericEvent serial*: culong ## # of last request processed send_event*: XBool ## true if from SendEvent request display*: PDisplay ## Display the event was read from extension*: cint ## major opcode of extension that caused the event evtype*: cint ## actual event type.
XGenericEventCookie {.final.} = object theType*: cint ## of event. Always GenericEvent serial*: culong ## # of last request processed send_event*: XBool ## true if from SendEvent request display*: PDisplay ## Display the event was read from extension*: cint ## major opcode of extension that caused the event evtype*: cint ## actual event type. cookie*: cuint data*: pointer
XGraphicsExposeEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay drawable*: Drawable x*, y*: cint width*, height*: cint count*: cint major_code*: cint minor_code*: cint
XGravityEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay event*: Window window*: Window x*, y*: cint
XHostAddress {.final.} = object family*: cint len*: cint address*: cstring
XIC {.final.} = ptr object
XICCallback {.final.} = object client_data*: XPointer callback*: XICProc
XIM {.final.} = ptr object
XImage {.final.} = object width*, height*: cint xoffset*: cint format*: cint data*: cstring byte_order*: cint bitmap_unit*: cint bitmap_bit_order*: cint bitmap_pad*: cint depth*: cint bytes_per_line*: cint bits_per_pixel*: cint red_mask*: culong green_mask*: culong blue_mask*: culong obdata*: XPointer f*: F
XIMCallback {.final.} = object client_data*: XPointer callback*: XIMProc
XIMCaretDirection = enum XIMForwardChar, XIMBackwardChar, XIMForwardWord, XIMBackwardWord, XIMCaretUp, XIMCaretDown, XIMNextLine, XIMPreviousLine, XIMLineStart, XIMLineEnd, XIMAbsolutePosition, XIMDontChange
XIMCaretStyle = enum XIMIsInvisible, XIMIsPrimary, XIMIsSecondary
XIMFeedback = culong
XIMHotKeyState = culong
XIMHotKeyTrigger {.final.} = object keysym*: KeySym modifier*: cint modifier_mask*: cint
XIMHotKeyTriggers {.final.} = object num_hot_key*: cint key*: PXIMHotKeyTrigger
XIMPreeditCaretCallbackStruct {.final.} = object position*: cint direction*: XIMCaretDirection style*: XIMCaretStyle
XIMPreeditDrawCallbackStruct {.final.} = object caret*: cint chg_first*: cint chg_length*: cint text*: PXIMText
XIMPreeditState = culong
XIMPreeditStateNotifyCallbackStruct {.final.} = object state*: XIMPreeditState
XIMResetState = culong
XIMStatusDataType = enum XIMTextType, XIMBitmapType
XIMStatusDrawCallbackStruct {.final.} = object theType*: XIMStatusDataType bitmap*: Pixmap
XIMStringConversionCallbackStruct {.final.} = object position*: XIMStringConversionPosition direction*: XIMCaretDirection operation*: XIMStringConversionOperation factor*: cushort text*: PXIMStringConversionText
XIMStringConversionFeedback = culong
XIMStringConversionOperation = cushort
XIMStringConversionPosition = cushort
XIMStringConversionText {.final.} = object len*: cushort feedback*: PXIMStringConversionFeedback encoding_is_wchar*: XBool mbs*: cstring
XIMStringConversionType = cushort
XIMStyle = culong
XIMText {.final.} = object len*: cushort feedback*: PXIMFeedback encoding_is_wchar*: XBool multi_byte*: cstring
XIMValuesList {.final.} = object count_values*: cushort supported_values*: PPChar
XIOErrorHandler = proc (para1: PDisplay): cint {.cdecl.}
XKeyboardControl {.final.} = object key_click_percent*: cint bell_percent*: cint bell_pitch*: cint bell_duration*: cint led*: cint led_mode*: cint key*: cint auto_repeat_mode*: cint
XKeyboardState {.final.} = object key_click_percent*: cint bell_percent*: cint bell_pitch*, bell_duration*: cuint led_mask*: culong global_auto_repeat*: cint auto_repeats*: array[0 .. 31, cchar]
XKeyEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window root*: Window subwindow*: Window time*: Time x*, y*: cint x_root*, y_root*: cint state*: cuint keycode*: cuint same_screen*: XBool
XKeymapEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window key_vector*: array[0 .. 31, cchar]
XMapEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay event*: Window window*: Window override_redirect*: XBool
XMappingEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window request*: cint first_keycode*: cint count*: cint
XMapRequestEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay parent*: Window window*: Window
XmbTextItem {.final.} = object chars*: cstring nchars*: cint delta*: cint font_set*: XFontSet
XModifierKeymap {.final.} = object max_keypermod*: cint modifiermap*: PKeyCode
XMotionEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window root*: Window subwindow*: Window time*: Time x*, y*: cint x_root*, y_root*: cint state*: cuint is_hint*: cchar same_screen*: XBool
XNoExposeEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay drawable*: Drawable major_code*: cint minor_code*: cint
XOC {.final.} = object
XOM {.final.} = object
XOMCharSetList {.final.} = object charset_count*: cint charset_list*: PPChar
XOMFontInfo {.final.} = object num_font*: cint font_struct_list*: ptr PXFontStruct font_name_list*: PPChar
XOMOrientation {.final.} = object num_orientation*: cint orientation*: PXOrientation
XOrientation = enum XOMOrientation_LTR_TTB, XOMOrientation_RTL_TTB, XOMOrientation_TTB_LTR, XOMOrientation_TTB_RTL, XOMOrientation_Context
XPixmapFormatValues {.final.} = object depth*: cint bits_per_pixel*: cint scanline_pad*: cint
XPoint {.final.} = object x*, y*: cshort
XPointer = ptr char
XPrivDisplay {.final.} = object ext_data*: PXExtData private1*: PXPrivate fd*: cint private2*: cint proto_major_version*: cint proto_minor_version*: cint vendor*: cstring private3*: XID private4*: XID private5*: XID private6*: cint resource_alloc*: proc (para1: PXDisplay): XID {.cdecl.} byte_order*: cint bitmap_unit*: cint bitmap_pad*: cint bitmap_bit_order*: cint nformats*: cint pixmap_format*: PScreenFormat private8*: cint release*: cint private9*, private10*: PXPrivate qlen*: cint last_request_read*: culong request*: culong private11*: XPointer private12*: XPointer private13*: XPointer private14*: XPointer max_request_size*: cunsigned db*: PXrmHashBucketRec private15*: proc (para1: PXDisplay): cint {.cdecl.} display_name*: cstring default_screen*: cint nscreens*: cint screens*: PScreen motion_buffer*: culong private16*: culong min_keycode*: cint max_keycode*: cint private17*: XPointer private18*: XPointer private19*: cint xdefaults*: cstring
XPropertyEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window atom*: Atom time*: Time state*: cint
XRectangle {.final.} = object x*, y*: cshort width*, height*: cushort
XReparentEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay event*: Window window*: Window parent*: Window x*, y*: cint override_redirect*: XBool
XResizeRequestEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window width*, height*: cint
XrmHashBucketRec {.final.} = object
XSegment {.final.} = object x1*, y1*, x2*, y2*: cshort
XSelectionClearEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window selection*: Atom time*: Time
XSelectionEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay requestor*: Window selection*: Atom target*: Atom property*: Atom time*: Time
XSelectionRequestEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay owner*: Window requestor*: Window selection*: Atom target*: Atom property*: Atom time*: Time
XServerInterpretedAddress {.final.} = object typelength*: cint valuelength*: cint theType*: cstring value*: cstring
XSetWindowAttributes {.final.} = object background_pixmap*: Pixmap background_pixel*: culong border_pixmap*: Pixmap border_pixel*: culong bit_gravity*: cint win_gravity*: cint backing_store*: cint backing_planes*: culong backing_pixel*: culong save_under*: XBool event_mask*: clong do_not_propagate_mask*: clong override_redirect*: XBool colormap*: Colormap cursor*: Cursor
XTextItem16 {.final.} = object chars*: PXChar2b nchars*: cint delta*: cint font*: Font
XTimeCoord {.final.} = object time*: Time x*, y*: cshort
XUnmapEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay event*: Window window*: Window from_configure*: XBool
XVaNestedList = pointer
XVisibilityEvent {.final.} = object theType*: cint serial*: culong send_event*: XBool display*: PDisplay window*: Window state*: cint
XwcTextItem {.final.} = object chars*: PWideChar nchars*: cint delta*: cint font_set*: XFontSet
XWindowAttributes {.final.} = object x*, y*: cint width*, height*: cint border_width*: cint depth*: cint visual*: PVisual root*: Window c_class*: cint bit_gravity*: cint win_gravity*: cint backing_store*: cint backing_planes*: culong backing_pixel*: culong save_under*: XBool colormap*: Colormap map_installed*: XBool map_state*: cint all_event_masks*: clong your_event_mask*: clong do_not_propagate_mask*: clong override_redirect*: XBool screen*: PScreen
XWindowChanges {.final.} = object x*, y*: cint width*, height*: cint border_width*: cint sibling*: Window stack_mode*: cint
Consts
AllPlanes: culong = 18446744073709551615'u
libX11 = "libX11.so(|.6)"
QueuedAfterFlush = 2
QueuedAlready = 0
XBufferOverflow = -1
XIMHighlight = 4
XIMHotKeyStateOFF = 0x00000002
XIMHotKeyStateON = 0x00000001
XIMInitialState = 1
XIMPreeditArea = 0x00000001
XIMPreeditCallbacks = 0x00000002
XIMPreeditEnable = 1
XIMPreeditNone = 0x00000010
XIMPreeditNothing = 0x00000008
XIMPreeditPosition = 0x00000004
XIMPreserveState = 2
XIMPrimary = 32
XIMReverse = 1
XIMSecondary = 64
XIMStatusArea = 0x00000100
XIMStatusCallbacks = 0x00000200
XIMStatusNone = 0x00000800
XIMStatusNothing = 0x00000400
XIMStringConversionBottomEdge = 0x00000008
XIMStringConversionBuffer = 0x00000001
XIMStringConversionChar = 0x00000004
XIMStringConversionConcealed = 0x00000010
XIMStringConversionLeftEdge = 0x00000001
XIMStringConversionLine = 0x00000002
XIMStringConversionRetrieval = 0x00000002
XIMStringConversionRightEdge = 0x00000002
XIMStringConversionSubstitution = 0x00000001
XIMStringConversionTopEdge = 0x00000004
XIMStringConversionWord = 0x00000003
XIMStringConversionWrapped = 0x00000020
XIMTertiary = 128
XIMUnderline = 2
XIMVisibleToBackword = 512
XIMVisibleToCenter = 1024
XIMVisibleToForward = 256
XLookupBoth = 4
XLookupChars = 2
XLookupKeySymVal = 3
XLookupNone = 1
XNArea = "area"
XNAreaNeeded = "areaNeeded"
XNBackground = "background"
XNBackgroundPixmap = "backgroundPixmap"
XNBaseFontName = "baseFontName"
XNClientWindow = "clientWindow"
XNColormap = "colorMap"
XNContextualDrawing = "contextualDrawing"
XNCursor = "cursor"
XNDefaultString = "defaultString"
XNDestroyCallback = "destroyCallback"
XNDirectionalDependentDrawing = "directionalDependentDrawing"
XNFilterEvents = "filterEvents"
XNFocusWindow = "focusWindow"
XNFontInfo = "fontInfo"
XNFontSet = "fontSet"
XNForeground = "foreground"
XNGeometryCallback = "geometryCallback"
XNHotKey = "hotKey"
XNHotKeyState = "hotKeyState"
XNInputStyle = "inputStyle"
XNLineSpace = "lineSpace"
XNMissingCharSet = "missingCharSet"
XNOMAutomatic = "omAutomatic"
XNOrientation = "orientation"
XNPreeditAttributes = "preeditAttributes"
XNPreeditCaretCallback = "preeditCaretCallback"
XNPreeditDoneCallback = "preeditDoneCallback"
XNPreeditDrawCallback = "preeditDrawCallback"
XNPreeditStartCallback = "preeditStartCallback"
XNPreeditState = "preeditState"
XNPreeditStateNotifyCallback = "preeditStateNotifyCallback"
XNQueryICValuesList = "queryICValuesList"
XNQueryIMValuesList = "queryIMValuesList"
XNQueryInputStyle = "queryInputStyle"
XNQueryOrientation = "queryOrientation"
XNR6PreeditCallback = "r6PreeditCallback"
XNRequiredCharSet = "requiredCharSet"
XNResetState = "resetState"
XNResourceClass = "resourceClass"
XNResourceName = "resourceName"
XNSeparatorofNestedList = "separatorofNestedList"
XNSpotLocation = "spotLocation"
XNStatusAttributes = "statusAttributes"
XNStatusDoneCallback = "statusDoneCallback"
XNStatusDrawCallback = "statusDrawCallback"
XNStatusStartCallback = "statusStartCallback"
XNStdColormap = "stdColorMap"
XNStringConversion = "stringConversion"
XNStringConversionCallback = "stringConversionCallback"
XNVaNestedList = "XNVaNestedList"
XNVisiblePosition = "visiblePosition"
Procs
proc BitmapBitOrder(dpy: PDisplay): cint {....raises: [], tags: [], forbids: [].}
proc BitmapUnit(dpy: PDisplay): cint {....raises: [], tags: [], forbids: [].}
proc BlackPixel(dpy: PDisplay; scr: cint): culong {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc BlackPixelOfScreen(s: PScreen): culong {....raises: [], tags: [], forbids: [].}
proc CellsOfScreen(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc ConnectionNumber(dpy: PDisplay): cint {....raises: [], tags: [], forbids: [].}
proc DefaultColormap(dpy: PDisplay; scr: cint): Colormap {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DefaultColormapOfScreen(s: PScreen): Colormap {....raises: [], tags: [], forbids: [].}
proc DefaultDepth(dpy: PDisplay; scr: cint): cint {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DefaultDepthOfScreen(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc DefaultGCOfScreen(s: PScreen): GC {....raises: [], tags: [], forbids: [].}
proc DefaultRootWindow(dpy: PDisplay): Window {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DefaultScreen(dpy: PDisplay): cint {....raises: [], tags: [], forbids: [].}
proc DefaultScreenOfDisplay(dpy: PDisplay): PScreen {....raises: [], tags: [], forbids: [].}
proc DefaultVisual(dpy: PDisplay; scr: cint): PVisual {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DefaultVisualOfScreen(s: PScreen): PVisual {....raises: [], tags: [], forbids: [].}
proc DisplayCells(dpy: PDisplay; scr: cint): cint {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DisplayHeight(dpy: PDisplay; scr: cint): cint {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DisplayHeightMM(dpy: PDisplay; scr: cint): cint {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DisplayOfScreen(s: PScreen): PDisplay {....raises: [], tags: [], forbids: [].}
proc DisplayPlanes(dpy: PDisplay; scr: cint): cint {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DisplayString(dpy: PDisplay): cstring {....raises: [], tags: [], forbids: [].}
proc DisplayWidth(dpy: PDisplay; scr: cint): cint {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DisplayWidthMM(dpy: PDisplay; scr: cint): cint {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc DoesBackingStore(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc DoesSaveUnders(s: PScreen): XBool {....raises: [], tags: [], forbids: [].}
proc EventMaskOfScreen(s: PScreen): clong {....raises: [], tags: [], forbids: [].}
proc HeightMMOfScreen(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc HeightOfScreen(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc ImageByteOrder(dpy: PDisplay): cint {....raises: [], tags: [], forbids: [].}
proc LastKnownRequestProcessed(dpy: PDisplay): culong {....raises: [], tags: [], forbids: [].}
proc MaxCmapsOfScreen(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc MinCmapsOfScreen(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc NextRequest(dpy: PDisplay): culong {....raises: [], tags: [], forbids: [].}
proc PlanesOfScreen(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc ProtocolRevision(dpy: PDisplay): cint {....raises: [], tags: [], forbids: [].}
proc ProtocolVersion(dpy: PDisplay): cint {....raises: [], tags: [], forbids: [].}
proc RootWindow(dpy: PDisplay; scr: cint): Window {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc RootWindowOfScreen(s: PScreen): Window {....raises: [], tags: [], forbids: [].}
proc ScreenCount(dpy: PDisplay): cint {....raises: [], tags: [], forbids: [].}
proc ScreenOfDisplay(dpy: PDisplay; scr: cint): PScreen {....raises: [], tags: [], forbids: [].}
proc ServerVendor(dpy: PDisplay): cstring {....raises: [], tags: [], forbids: [].}
proc VendorRelease(dpy: PDisplay): cint {....raises: [], tags: [], forbids: [].}
proc WhitePixel(dpy: PDisplay; scr: cint): culong {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc WhitePixelOfScreen(s: PScreen): culong {....raises: [], tags: [], forbids: [].}
proc WidthMMOfScreen(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc WidthOfScreen(s: PScreen): cint {....raises: [], tags: [], forbids: [].}
proc XActivateScreenSaver(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAddConnectionWatch(para1: PDisplay; para2: XConnectionWatchProc; para3: XPointer): Status {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAddExtension(para1: PDisplay): PXExtCodes {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAddHost(para1: PDisplay; para2: PXHostAddress): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAddHosts(para1: PDisplay; para2: PXHostAddress; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAddToExtensionList(para1: PPXExtData; para2: PXExtData): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAddToSaveSet(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAllocColor(para1: PDisplay; para2: Colormap; para3: PXColor): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAllowEvents(para1: PDisplay; para2: cint; para3: Time): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAllPlanes(): culong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAutoRepeatOff(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XAutoRepeatOn(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XBaseFontNameListOfFontSet(para1: XFontSet): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XBitmapBitOrder(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XBitmapPad(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XBitmapUnit(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XBlackPixel(para1: PDisplay; para2: cint): culong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XBlackPixelOfScreen(para1: PScreen): culong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCellsOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XChangeActivePointerGrab(para1: PDisplay; para2: cuint; para3: Cursor; para4: Time): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XChangeGC(para1: PDisplay; para2: GC; para3: culong; para4: PXGCValues): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XChangeKeyboardControl(para1: PDisplay; para2: culong; para3: PXKeyboardControl): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XChangeKeyboardMapping(para1: PDisplay; para2: cint; para3: cint; para4: PKeySym; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XChangePointerControl(para1: PDisplay; para2: XBool; para3: XBool; para4: cint; para5: cint; para6: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XChangeSaveSet(para1: PDisplay; para2: Window; para3: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XChangeWindowAttributes(para1: PDisplay; para2: Window; para3: culong; para4: PXSetWindowAttributes): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCheckIfEvent(para1: PDisplay; para2: PXEvent; para3: funcifevent; para4: XPointer): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCheckMaskEvent(para1: PDisplay; para2: clong; para3: PXEvent): XBool {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCheckTypedEvent(para1: PDisplay; para2: cint; para3: PXEvent): XBool {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCheckTypedWindowEvent(para1: PDisplay; para2: Window; para3: cint; para4: PXEvent): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCheckWindowEvent(para1: PDisplay; para2: Window; para3: clong; para4: PXEvent): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCirculateSubwindows(para1: PDisplay; para2: Window; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCirculateSubwindowsDown(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCirculateSubwindowsUp(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XClearArea(para1: PDisplay; para2: Window; para3: cint; para4: cint; para5: cuint; para6: cuint; para7: XBool): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XClearWindow(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCloseDisplay(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XConfigureWindow(para1: PDisplay; para2: Window; para3: cuint; para4: PXWindowChanges): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XConnectionNumber(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XContextDependentDrawing(para1: XFontSet): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XContextualDrawing(para1: XFontSet): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCopyColormapAndFree(para1: PDisplay; para2: Colormap): Colormap {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCopyPlane(para1: PDisplay; para2: Drawable; para3: Drawable; para4: GC; para5: cint; para6: cint; para7: cuint; para8: cuint; para9: cint; para10: cint; para11: culong): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreateBitmapFromData(para1: PDisplay; para2: Drawable; para3: cstring; para4: cuint; para5: cuint): Pixmap {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreateColormap(para1: PDisplay; para2: Window; para3: PVisual; para4: cint): Colormap {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreateFontCursor(para1: PDisplay; para2: cuint): Cursor {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreateGC(para1: PDisplay; para2: Drawable; para3: culong; para4: PXGCValues): GC {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreateImage(para1: PDisplay; para2: PVisual; para3: cuint; para4: cint; para5: cint; para6: cstring; para7: cuint; para8: cuint; para9: cint; para10: cint): PXImage {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreatePixmap(para1: PDisplay; para2: Drawable; para3: cuint; para4: cuint; para5: cuint): Pixmap {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreatePixmapFromBitmapData(para1: PDisplay; para2: Drawable; para3: cstring; para4: cuint; para5: cuint; para6: culong; para7: culong; para8: cuint): Pixmap {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreateSimpleWindow(para1: PDisplay; para2: Window; para3: cint; para4: cint; para5: cuint; para6: cuint; para7: cuint; para8: culong; para9: culong): Window {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreateWindow(para1: PDisplay; para2: Window; para3: cint; para4: cint; para5: cuint; para6: cuint; para7: cuint; para8: cint; para9: cuint; para10: PVisual; para11: culong; para12: PXSetWindowAttributes): Window {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultColormap(para1: PDisplay; para2: cint): Colormap {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultColormapOfScreen(para1: PScreen): Colormap {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultDepth(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultDepthOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultGC(para1: PDisplay; para2: cint): GC {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultGCOfScreen(para1: PScreen): GC {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultRootWindow(para1: PDisplay): Window {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultScreen(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultScreenOfDisplay(para1: PDisplay): PScreen {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultVisual(para1: PDisplay; para2: cint): PVisual {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefaultVisualOfScreen(para1: PScreen): PVisual {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDefineCursor(para1: PDisplay; para2: Window; para3: Cursor): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDeleteModifiermapEntry(para1: PXModifierKeymap; para2: KeyCode; para3: cint): PXModifierKeymap {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDeleteProperty(para1: PDisplay; para2: Window; para3: Atom): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDestroyIC(para1: XIC) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDestroyOC(para1: XOC) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDestroySubwindows(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDestroyWindow(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDirectionalDependentDrawing(para1: XFontSet): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisableAccessControl(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayCells(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayHeight(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayHeightMM(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayKeycodes(para1: PDisplay; para2: Pcint; para3: Pcint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayMotionBufferSize(para1: PDisplay): culong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayName(para1: cstring): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayOfIM(para1: XIM): PDisplay {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayOfOM(para1: XOM): PDisplay {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayOfScreen(para1: PScreen): PDisplay {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayPlanes(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayString(para1: PDisplay): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayWidth(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDisplayWidthMM(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDoesBackingStore(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDoesSaveUnders(para1: PScreen): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawImageString(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: cstring; para7: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawImageString16(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: PXChar2b; para7: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawLines(para1: PDisplay; para2: Drawable; para3: GC; para4: PXPoint; para5: cint; para6: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawPoint(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawPoints(para1: PDisplay; para2: Drawable; para3: GC; para4: PXPoint; para5: cint; para6: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawRectangle(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: cuint; para7: cuint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawRectangles(para1: PDisplay; para2: Drawable; para3: GC; para4: PXRectangle; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawSegments(para1: PDisplay; para2: Drawable; para3: GC; para4: PXSegment; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawString(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: cstring; para7: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawString16(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: PXChar2b; para7: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawText(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: PXTextItem; para7: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDrawText16(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: PXTextItem16; para7: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XEHeadOfExtensionList(para1: XEDataObject): PPXExtData {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XEnableAccessControl(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XEventMaskOfScreen(para1: PScreen): clong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XEventsQueued(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XExtendedMaxRequestSize(para1: PDisplay): clong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XExtentsOfFontSet(para1: XFontSet): PXFontSetExtents {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFetchBuffer(para1: PDisplay; para2: Pcint; para3: cint): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFetchBytes(para1: PDisplay; para2: Pcint): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFetchName(para1: PDisplay; para2: Window; para3: PPChar): Status {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFillPolygon(para1: PDisplay; para2: Drawable; para3: GC; para4: PXPoint; para5: cint; para6: cint; para7: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFillRectangle(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: cuint; para7: cuint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFillRectangles(para1: PDisplay; para2: Drawable; para3: GC; para4: PXRectangle; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFilterEvent(para1: PXEvent; para2: Window): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFindOnExtensionList(para1: PPXExtData; para2: cint): PXExtData {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFontsOfFontSet(para1: XFontSet; para2: PPPXFontStruct; para3: PPPChar): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XForceScreenSaver(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFree(para1: pointer): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeColormap(para1: PDisplay; para2: Colormap): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeColors(para1: PDisplay; para2: Colormap; para3: Pculong; para4: cint; para5: culong): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeCursor(para1: PDisplay; para2: Cursor): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeEventData(para1: PDisplay; para2: PXGenericEventCookie) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeExtensionList(para1: PPChar): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeFont(para1: PDisplay; para2: PXFontStruct): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeFontInfo(para1: PPChar; para2: PXFontStruct; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeFontNames(para1: PPChar): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeFontPath(para1: PPChar): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeFontSet(para1: PDisplay; para2: XFontSet) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeModifiermap(para1: PXModifierKeymap): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreePixmap(para1: PDisplay; para2: Pixmap): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XFreeStringList(para1: PPChar) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGContextFromGC(para1: GC): GContext {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetAtomName(para1: PDisplay; para2: Atom): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetAtomNames(para1: PDisplay; para2: PAtom; para3: cint; para4: PPChar): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetDefault(para1: PDisplay; para2: cstring; para3: cstring): cstring {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetErrorDatabaseText(para1: PDisplay; para2: cstring; para3: cstring; para4: cstring; para5: cstring; para6: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetErrorText(para1: PDisplay; para2: cint; para3: cstring; para4: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetEventData(para1: PDisplay; para2: PXGenericEventCookie): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetFontPath(para1: PDisplay; para2: Pcint): PPChar {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetFontProperty(para1: PXFontStruct; para2: Atom; para3: Pculong): XBool {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetGCValues(para1: PDisplay; para2: GC; para3: culong; para4: PXGCValues): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetIconName(para1: PDisplay; para2: Window; para3: PPChar): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetICValues(para1: XIC): cstring {.varargs, cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetIMValues(para1: XIM): cstring {.varargs, cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetInputFocus(para1: PDisplay; para2: PWindow; para3: Pcint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetKeyboardControl(para1: PDisplay; para2: PXKeyboardState): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetKeyboardMapping(para1: PDisplay; para2: KeyCode; para3: cint; para4: Pcint): PKeySym {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetModifierMapping(para1: PDisplay): PXModifierKeymap {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetMotionEvents(para1: PDisplay; para2: Window; para3: Time; para4: Time; para5: Pcint): PXTimeCoord {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetOCValues(para1: XOC): cstring {.varargs, cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetOMValues(para1: XOM): cstring {.varargs, cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetPointerControl(para1: PDisplay; para2: Pcint; para3: Pcint; para4: Pcint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetPointerMapping(para1: PDisplay; para2: Pcuchar; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetSelectionOwner(para1: PDisplay; para2: Atom): Window {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetSubImage(para1: PDisplay; para2: Drawable; para3: cint; para4: cint; para5: cuint; para6: cuint; para7: culong; para8: cint; para9: PXImage; para10: cint; para11: cint): PXImage {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetTransientForHint(para1: PDisplay; para2: Window; para3: PWindow): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetWindowAttributes(para1: PDisplay; para2: Window; para3: PXWindowAttributes): Status {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGrabKeyboard(para1: PDisplay; para2: Window; para3: XBool; para4: cint; para5: cint; para6: Time): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGrabServer(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XHeightMMOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XHeightOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XIconifyWindow(para1: PDisplay; para2: Window; para3: cint): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XIfEvent(para1: PDisplay; para2: PXEvent; para3: funcifevent; para4: XPointer): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XImageByteOrder(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XInitExtension(para1: PDisplay; para2: cstring): PXExtCodes {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XInitImage(para1: PXImage): Status {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XInitThreads(): Status {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XInsertModifiermapEntry(para1: PXModifierKeymap; para2: KeyCode; para3: cint): PXModifierKeymap {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XInstallColormap(para1: PDisplay; para2: Colormap): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XInternalConnectionNumbers(para1: PDisplay; para2: PPcint; para3: Pcint): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XInternAtom(para1: PDisplay; para2: cstring; para3: XBool): Atom {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XKeycodeToKeysym(para1: PDisplay; para2: KeyCode; para3: cint): KeySym {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XKeysymToKeycode(para1: PDisplay; para2: KeySym): KeyCode {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XKeysymToString(para1: KeySym): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XKillClient(para1: PDisplay; para2: XID): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XLastKnownRequestProcessed(para1: PDisplay): culong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XListDepths(para1: PDisplay; para2: cint; para3: Pcint): Pcint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XListExtensions(para1: PDisplay; para2: Pcint): PPChar {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XListFonts(para1: PDisplay; para2: cstring; para3: cint; para4: Pcint): PPChar {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XListFontsWithInfo(para1: PDisplay; para2: cstring; para3: cint; para4: Pcint; para5: PPXFontStruct): PPChar {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XListHosts(para1: PDisplay; para2: Pcint; para3: PBool): PXHostAddress {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XListInstalledColormaps(para1: PDisplay; para2: Window; para3: Pcint): PColormap {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XListPixmapFormats(para1: PDisplay; para2: Pcint): PXPixmapFormatValues {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XListProperties(para1: PDisplay; para2: Window; para3: Pcint): PAtom {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XLoadQueryFont(para1: PDisplay; para2: cstring): PXFontStruct {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XLocaleOfFontSet(para1: XFontSet): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XLocaleOfIM(para1: XIM): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XLocaleOfOM(para1: XOM): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XLockDisplay(para1: PDisplay) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XLookupKeysym(para1: PXKeyEvent; para2: cint): KeySym {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XLowerWindow(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMapRaised(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMapSubwindows(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMapWindow(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMaskEvent(para1: PDisplay; para2: clong; para3: PXEvent): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMaxCmapsOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMaxRequestSize(para1: PDisplay): clong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbDrawImageString(para1: PDisplay; para2: Drawable; para3: XFontSet; para4: GC; para5: cint; para6: cint; para7: cstring; para8: cint) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbDrawString(para1: PDisplay; para2: Drawable; para3: XFontSet; para4: GC; para5: cint; para6: cint; para7: cstring; para8: cint) {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbDrawText(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: PXmbTextItem; para7: cint) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbLookupString(para1: XIC; para2: PXKeyPressedEvent; para3: cstring; para4: cint; para5: PKeySym; para6: PStatus): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbResetIC(para1: XIC): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbTextEscapement(para1: XFontSet; para2: cstring; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbTextExtents(para1: XFontSet; para2: cstring; para3: cint; para4: PXRectangle; para5: PXRectangle): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbTextPerCharExtents(para1: XFontSet; para2: cstring; para3: cint; para4: PXRectangle; para5: PXRectangle; para6: cint; para7: Pcint; para8: PXRectangle; para9: PXRectangle): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMinCmapsOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMoveResizeWindow(para1: PDisplay; para2: Window; para3: cint; para4: cint; para5: cuint; para6: cuint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMoveWindow(para1: PDisplay; para2: Window; para3: cint; para4: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XNewModifiermap(para1: cint): PXModifierKeymap {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XNextEvent(para1: PDisplay; para2: PXEvent): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XNextRequest(para1: PDisplay): culong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XOpenDisplay(para1: cstring): PDisplay {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XOpenIM(para1: PDisplay; para2: PXrmHashBucketRec; para3: cstring; para4: cstring): XIM {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XOpenOM(para1: PDisplay; para2: PXrmHashBucketRec; para3: cstring; para4: cstring): XOM {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XParseColor(para1: PDisplay; para2: Colormap; para3: cstring; para4: PXColor): Status {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XParseGeometry(para1: cstring; para2: Pcint; para3: Pcint; para4: Pcuint; para5: Pcuint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XPeekEvent(para1: PDisplay; para2: PXEvent): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XPeekIfEvent(para1: PDisplay; para2: PXEvent; para3: funcifevent; para4: XPointer): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XPlanesOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XProcessInternalConnection(para1: PDisplay; para2: cint) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XProtocolRevision(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XProtocolVersion(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XPutBackEvent(para1: PDisplay; para2: PXEvent): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XQueryColor(para1: PDisplay; para2: Colormap; para3: PXColor): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XQueryColors(para1: PDisplay; para2: Colormap; para3: PXColor; para4: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XQueryFont(para1: PDisplay; para2: XID): PXFontStruct {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XQueryKeymap(para1: PDisplay; para2: chararr32): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XQueryTextExtents(para1: PDisplay; para2: XID; para3: cstring; para4: cint; para5: Pcint; para6: Pcint; para7: Pcint; para8: PXCharStruct): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XQueryTextExtents16(para1: PDisplay; para2: XID; para3: PXChar2b; para4: cint; para5: Pcint; para6: Pcint; para7: Pcint; para8: PXCharStruct): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRaiseWindow(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRebindKeysym(para1: PDisplay; para2: KeySym; para3: PKeySym; para4: cint; para5: Pcuchar; para6: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRecolorCursor(para1: PDisplay; para2: Cursor; para3: PXColor; para4: PXColor): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XReconfigureWMWindow(para1: PDisplay; para2: Window; para3: cint; para4: cuint; para5: PXWindowChanges): Status {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRefreshKeyboardMapping(para1: PXMappingEvent): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRegisterIMInstantiateCallback(para1: PDisplay; para2: PXrmHashBucketRec; para3: cstring; para4: cstring; para5: XIDProc; para6: XPointer): XBool {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRemoveConnectionWatch(para1: PDisplay; para2: XConnectionWatchProc; para3: XPointer) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRemoveFromSaveSet(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRemoveHost(para1: PDisplay; para2: PXHostAddress): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRemoveHosts(para1: PDisplay; para2: PXHostAddress; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XReparentWindow(para1: PDisplay; para2: Window; para3: Window; para4: cint; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XResetScreenSaver(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XResizeWindow(para1: PDisplay; para2: Window; para3: cuint; para4: cuint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XResourceManagerString(para1: PDisplay): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRestackWindows(para1: PDisplay; para2: PWindow; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XrmInitialize() {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRootWindow(para1: PDisplay; para2: cint): Window {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRootWindowOfScreen(para1: PScreen): Window {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRotateBuffers(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XRotateWindowProperties(para1: PDisplay; para2: Window; para3: PAtom; para4: cint; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XScreenCount(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XScreenNumberOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XScreenOfDisplay(para1: PDisplay; para2: cint): PScreen {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XScreenResourceString(para1: PScreen): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSelectInput(para1: PDisplay; para2: Window; para3: clong): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XServerVendor(para1: PDisplay): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetAccessControl(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetAfterFunction(para1: PDisplay; para2: funcdisp): funcdisp {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetArcMode(para1: PDisplay; para2: GC; para3: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetAuthorization(para1: cstring; para2: cint; para3: cstring; para4: cint) {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetBackground(para1: PDisplay; para2: GC; para3: culong): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetClipMask(para1: PDisplay; para2: GC; para3: Pixmap): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetClipOrigin(para1: PDisplay; para2: GC; para3: cint; para4: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetClipRectangles(para1: PDisplay; para2: GC; para3: cint; para4: cint; para5: PXRectangle; para6: cint; para7: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetCloseDownMode(para1: PDisplay; para2: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetCommand(para1: PDisplay; para2: Window; para3: PPChar; para4: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetDashes(para1: PDisplay; para2: GC; para3: cint; para4: cstring; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetErrorHandler(para1: XErrorHandler): XErrorHandler {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetFillRule(para1: PDisplay; para2: GC; para3: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetFillStyle(para1: PDisplay; para2: GC; para3: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetFontPath(para1: PDisplay; para2: PPChar; para3: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetForeground(para1: PDisplay; para2: GC; para3: culong): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetFunction(para1: PDisplay; para2: GC; para3: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetGraphicsExposures(para1: PDisplay; para2: GC; para3: XBool): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetICFocus(para1: XIC) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetIconName(para1: PDisplay; para2: Window; para3: cstring): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetICValues(para1: XIC): cstring {.varargs, cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetIMValues(para1: XIM): cstring {.varargs, cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetInputFocus(para1: PDisplay; para2: Window; para3: cint; para4: Time): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetIOErrorHandler(para1: XIOErrorHandler): XIOErrorHandler {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetLineAttributes(para1: PDisplay; para2: GC; para3: cuint; para4: cint; para5: cint; para6: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetLocaleModifiers(para1: cstring): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetModifierMapping(para1: PDisplay; para2: PXModifierKeymap): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetOCValues(para1: XOC): cstring {.varargs, cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetOMValues(para1: XOM): cstring {.varargs, cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetPlaneMask(para1: PDisplay; para2: GC; para3: culong): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetPointerMapping(para1: PDisplay; para2: Pcuchar; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetScreenSaver(para1: PDisplay; para2: cint; para3: cint; para4: cint; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetSelectionOwner(para1: PDisplay; para2: Atom; para3: Window; para4: Time): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetStipple(para1: PDisplay; para2: GC; para3: Pixmap): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetSubwindowMode(para1: PDisplay; para2: GC; para3: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetTransientForHint(para1: PDisplay; para2: Window; para3: Window): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetTSOrigin(para1: PDisplay; para2: GC; para3: cint; para4: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWindowBackground(para1: PDisplay; para2: Window; para3: culong): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWindowBackgroundPixmap(para1: PDisplay; para2: Window; para3: Pixmap): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWindowBorder(para1: PDisplay; para2: Window; para3: culong): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWindowBorderPixmap(para1: PDisplay; para2: Window; para3: Pixmap): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWindowBorderWidth(para1: PDisplay; para2: Window; para3: cuint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWindowColormap(para1: PDisplay; para2: Window; para3: Colormap): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWMColormapWindows(para1: PDisplay; para2: Window; para3: PWindow; para4: cint): Status {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWMProtocols(para1: PDisplay; para2: Window; para3: PAtom; para4: cint): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XStoreBuffer(para1: PDisplay; para2: cstring; para3: cint; para4: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XStoreBytes(para1: PDisplay; para2: cstring; para3: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XStoreColor(para1: PDisplay; para2: Colormap; para3: PXColor): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XStoreColors(para1: PDisplay; para2: Colormap; para3: PXColor; para4: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XStoreName(para1: PDisplay; para2: Window; para3: cstring): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XStoreNamedColor(para1: PDisplay; para2: Colormap; para3: cstring; para4: culong; para5: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XStringToKeysym(para1: cstring): KeySym {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSupportsLocale(): XBool {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSynchronize(para1: PDisplay; para2: XBool): funcdisp {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XTextExtents(para1: PXFontStruct; para2: cstring; para3: cint; para4: Pcint; para5: Pcint; para6: Pcint; para7: PXCharStruct): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XTextExtents16(para1: PXFontStruct; para2: PXChar2b; para3: cint; para4: Pcint; para5: Pcint; para6: Pcint; para7: PXCharStruct): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XTextWidth(para1: PXFontStruct; para2: cstring; para3: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XTextWidth16(para1: PXFontStruct; para2: PXChar2b; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUndefineCursor(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUngrabButton(para1: PDisplay; para2: cuint; para3: cuint; para4: Window): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUngrabKey(para1: PDisplay; para2: cint; para3: cuint; para4: Window): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUngrabKeyboard(para1: PDisplay; para2: Time): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUngrabPointer(para1: PDisplay; para2: Time): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUngrabServer(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUninstallColormap(para1: PDisplay; para2: Colormap): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUnloadFont(para1: PDisplay; para2: Font): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUnlockDisplay(para1: PDisplay) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUnmapSubwindows(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUnmapWindow(para1: PDisplay; para2: Window): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUnregisterIMInstantiateCallback(para1: PDisplay; para2: PXrmHashBucketRec; para3: cstring; para4: cstring; para5: XIDProc; para6: XPointer): XBool {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUnsetICFocus(para1: XIC) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8DrawImageString(para1: PDisplay; para2: Drawable; para3: XFontSet; para4: GC; para5: cint; para6: cint; para7: cstring; para8: cint) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8DrawString(para1: PDisplay; para2: Drawable; para3: XFontSet; para4: GC; para5: cint; para6: cint; para7: cstring; para8: cint) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8DrawText(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: PXmbTextItem; para7: cint) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8LookupString(para1: XIC; para2: PXKeyPressedEvent; para3: cstring; para4: cint; para5: PKeySym; para6: PStatus): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8ResetIC(para1: XIC): cstring {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8TextEscapement(para1: XFontSet; para2: cstring; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8TextExtents(para1: XFontSet; para2: cstring; para3: cint; para4: PXRectangle; para5: PXRectangle): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8TextPerCharExtents(para1: XFontSet; para2: cstring; para3: cint; para4: PXRectangle; para5: PXRectangle; para6: cint; para7: Pcint; para8: PXRectangle; para9: PXRectangle): Status {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XVaCreateNestedList(unused: cint): XVaNestedList {.varargs, cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XVendorRelease(para1: PDisplay): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XVisualIDFromVisual(para1: PVisual): VisualID {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XWarpPointer(para1: PDisplay; para2: Window; para3: Window; para4: cint; para5: cint; para6: cuint; para7: cuint; para8: cint; para9: cint): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XwcDrawText(para1: PDisplay; para2: Drawable; para3: GC; para4: cint; para5: cint; para6: PXwcTextItem; para7: cint) {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XwcLookupString(para1: XIC; para2: PXKeyPressedEvent; para3: PWideChar; para4: cint; para5: PKeySym; para6: PStatus): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XwcResetIC(para1: XIC): PWideChar {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XwcTextEscapement(para1: XFontSet; para2: PWideChar; para3: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XwcTextExtents(para1: XFontSet; para2: PWideChar; para3: cint; para4: PXRectangle; para5: PXRectangle): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XwcTextPerCharExtents(para1: XFontSet; para2: PWideChar; para3: cint; para4: PXRectangle; para5: PXRectangle; para6: cint; para7: Pcint; para8: PXRectangle; para9: PXRectangle): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XWhitePixel(para1: PDisplay; para2: cint): culong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XWhitePixelOfScreen(para1: PScreen): culong {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XWidthMMOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XWidthOfScreen(para1: PScreen): cint {.cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XWindowEvent(para1: PDisplay; para2: Window; para3: clong; para4: PXEvent): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XWithdrawWindow(para1: PDisplay; para2: Window; para3: cint): Status {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XWriteBitmapFile(para1: PDisplay; para2: cstring; para3: Pixmap; para4: cuint; para5: cuint; para6: cint; para7: cint): cint {. cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}