SysTutorials Posts

  • |

    XScreenNumberOfScreen (3) Linux Manual Page

    BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOfScreen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, MaxCmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen – screen information functions and macros Syntax unsigned long BlackPixelOfScreen(Screen *screen); unsigned long WhitePixelOfScreen(Screen *screen); int CellsOfScreen(Screen *screen); Colormap DefaultColormapOfScreen(Screen *screen); int DefaultDepthOfScreen(Screen *screen); GC DefaultGCOfScreen(Screen *screen); Visual *DefaultVisualOfScreen(Screen *screen); int DoesBackingStore(Screen *screen); Bool DoesSaveUnders(Screen…

  • |

    XSaveContext (3) Linux Manual Page

    XSaveContext, XFindContext, XDeleteContext, XUniqueContext – associative look-up routines Syntax int XSaveContext(Display *display, XID rid, XContext context, XPointer data); int XFindContext(Display *display, XID rid, XContext context, XPointer *data_return); int XDeleteContext(Display *display, XID rid, XContext context); XContext XUniqueContext(void); Arguments context Specifies the context type to which the data belongs. data Specifies the data to be associated with…

  • |

    XRotateWindowProperties (3) Linux Manual Page

    XGetWindowProperty, XListProperties, XChangeProperty, XRotateWindowProperties, XDeleteProperty – obtain and change window properties Syntax int XGetWindowProperty(Display *display, Window w, Atom property, long long_offset, long long_length, Bool delete, Atom req_type, Atom *actual_type_return, int *actual_format_return, unsigned long *nitems_return, unsigned long *bytes_after_return, unsigned char **prop_return); Atom *XListProperties(Display *display, Window w, int *num_prop_return); int XChangeProperty(Display *display, Window w, Atom property, Atom…

  • |

    XRotateBuffers (3) Linux Manual Page

    XStoreBytes, XStoreBuffer, XFetchBytes, XFetchBuffer, XRotateBuffers – manipulate cut and paste buffers Syntax int XStoreBytes(Display *display, char *bytes, int nbytes); int XStoreBuffer(Display *display, char *bytes, int nbytes, int buffer); char *XFetchBytes(Display *display, int *nbytes_return); char *XFetchBuffer(Display *display, int *nbytes_return, int buffer); int XRotateBuffers(Display *display, int rotate); Arguments buffer Specifies the buffer in which you want to…

  • |

    XRestackWindows (3) Linux Manual Page

    XRaiseWindow, XLowerWindow, XCirculateSubwindows, XCirculateSubwindowsUp, XCirculateSubwindowsDown, XRestackWindows – change window stacking order Syntax int XRaiseWindow(Display *display, Window w); int XLowerWindow(Display *display, Window w); int XCirculateSubwindows(Display *display, Window w, int direction); int XCirculateSubwindowsUp(Display *display, Window w); int XCirculateSubwindowsDown(Display *display, Window w); int XRestackWindows(Display *display, Window windows[], int nwindows); Arguments direction Specifies the direction (up or down) that…

  • |

    XResourceManagerString (3) Linux Manual Page

    XResourceManagerString, XScreenResourceString – obtain server resource properties Syntax char *XResourceManagerString(Display *display); char *XScreenResourceString(Screen *screen); Arguments display Specifies the connection to the X server. screen Specifies the screen. Description The XResourceManagerString function returns the RESOURCE_MANAGER property from the server’s root window of screen zero, which was returned when the connection was opened using XOpenDisplay. The property…

  • |

    XResizeWindow (3) Linux Manual Page

    XConfigureWindow, XMoveWindow, XResizeWindow, XMoveResizeWindow, XSetWindowBorderWidth, XWindowChanges – configure windows and window changes structure Syntax int XConfigureWindow(Display *display, Window w, unsigned value_mask, XWindowChanges *changes); int XMoveWindow(Display *display, Window w, int x, y); int XResizeWindow(Display *display, Window w, unsigned width, unsigned height); int XMoveResizeWindow(Display *display, Window w, int x, int y, unsigned width, unsigned height); int XSetWindowBorderWidth(Display…

  • |

    XResizeRequestEvent (3) Linux Manual Page

    XResizeRequestEvent – ResizeRequest event structure Structures The structure for ResizeRequest events contains: typedef struct {         int type;       /* ResizeRequest */         unsigned long serial;   /* # of last request processed by server */         Bool send_event;        /* true if this came from a SendEvent request */         Display *display;       /* Display the event was read from */         Window window;         int width, height; } XResizeRequestEvent; When you receive this event, the structure members…

  • |

    XResetScreenSaver (3) Linux Manual Page

    XSetScreenSaver, XForceScreenSaver, XActivateScreenSaver, XResetScreenSaver, XGetScreenSaver – manipulate the screen saver Syntax int XSetScreenSaver(Display *display, int timeout, int interval, int prefer_blanking, int allow_exposures); int XForceScreenSaver(Display *display, int mode); int XActivateScreenSaver(Display *display); int XResetScreenSaver(Display *display); int XGetScreenSaver(Display *display, int *timeout_return, int *interval_return, int *prefer_blanking_return, int *allow_exposures_return); Arguments allow_exposures Specifies the screen save control values. You can pass…

  • |

    XResQueryVersion (3) Linux Manual Page

    XRes – X-Resource extension client library Synopsis #include <X11/extensions/XRes.h> typedef struct { XID resource_base; XID resource_mask; } XResClient; typedef struct { Atom resource_type; unsigned int count; } XResType; Bool XResQueryExtension(Display *dpy, int *event_base_return, int *error_base_return); Status XResQueryVersion(Display *dpy, int *major_version_return, int *minor_version_return); Status XResQueryClients(Display *dpy, int *num_clients, XResClient **clients); Status XResQueryClientResources(Display *dpy, XID xid, int…

  • |

    XResQueryExtension (3) Linux Manual Page

    XRes – X-Resource extension client library Synopsis #include <X11/extensions/XRes.h> typedef struct { XID resource_base; XID resource_mask; } XResClient; typedef struct { Atom resource_type; unsigned int count; } XResType; Bool XResQueryExtension(Display *dpy, int *event_base_return, int *error_base_return); Status XResQueryVersion(Display *dpy, int *major_version_return, int *minor_version_return); Status XResQueryClients(Display *dpy, int *num_clients, XResClient **clients); Status XResQueryClientResources(Display *dpy, XID xid, int…

  • |

    XResQueryClients (3) Linux Manual Page

    XRes – X-Resource extension client library Synopsis #include <X11/extensions/XRes.h> typedef struct { XID resource_base; XID resource_mask; } XResClient; typedef struct { Atom resource_type; unsigned int count; } XResType; Bool XResQueryExtension(Display *dpy, int *event_base_return, int *error_base_return); Status XResQueryVersion(Display *dpy, int *major_version_return, int *minor_version_return); Status XResQueryClients(Display *dpy, int *num_clients, XResClient **clients); Status XResQueryClientResources(Display *dpy, XID xid, int…

  • |

    XResQueryClientResources (3) Linux Manual Page

    XRes – X-Resource extension client library Synopsis #include <X11/extensions/XRes.h> typedef struct { XID resource_base; XID resource_mask; } XResClient; typedef struct { Atom resource_type; unsigned int count; } XResType; Bool XResQueryExtension(Display *dpy, int *event_base_return, int *error_base_return); Status XResQueryVersion(Display *dpy, int *major_version_return, int *minor_version_return); Status XResQueryClients(Display *dpy, int *num_clients, XResClient **clients); Status XResQueryClientResources(Display *dpy, XID xid, int…

  • |

    XResQueryClientPixmapBytes (3) Linux Manual Page

    XRes – X-Resource extension client library Synopsis #include <X11/extensions/XRes.h> typedef struct { XID resource_base; XID resource_mask; } XResClient; typedef struct { Atom resource_type; unsigned int count; } XResType; Bool XResQueryExtension(Display *dpy, int *event_base_return, int *error_base_return); Status XResQueryVersion(Display *dpy, int *major_version_return, int *minor_version_return); Status XResQueryClients(Display *dpy, int *num_clients, XResClient **clients); Status XResQueryClientResources(Display *dpy, XID xid, int…

  • |

    XRes (3) Linux Manual Page

    XRes – X-Resource extension client library Synopsis #include <X11/extensions/XRes.h> typedef struct { XID resource_base; XID resource_mask; } XResClient; typedef struct { Atom resource_type; unsigned int count; } XResType; Bool XResQueryExtension(Display *dpy, int *event_base_return, int *error_base_return); Status XResQueryVersion(Display *dpy, int *major_version_return, int *minor_version_return); Status XResQueryClients(Display *dpy, int *num_clients, XResClient **clients); Status XResQueryClientResources(Display *dpy, XID xid, int…

  • |

    XReparentWindow (3) Linux Manual Page

    XReparentWindow – reparent windows Syntax int XReparentWindow(Display *display, Window w, Window parent, int x, int y); Arguments display Specifies the connection to the X server. parent Specifies the parent window. w Specifies the window. x y Specify the x and y coordinates of the position in the new parent window. Description If the specified window…

  • |

    XReparentEvent (3) Linux Manual Page

    XReparentEvent – ReparentNotify event structure Structures The structure for ReparentNotify events contains: typedef struct {         int type;       /* ReparentNotify */         unsigned long serial;   /* # of last request processed by server */         Bool send_event;        /* true if this came from a SendEvent request */         Display *display;       /* Display the event was read from */         Window event;         Window window;         Window parent;         int x, y;         Bool override_redirect; } XReparentEvent; When you…

  • |

    XRemoveHosts (3) Linux Manual Page

    XAddHost, XAddHosts, XListHosts, XRemoveHost, XRemoveHosts, XSetAccessControl, XEnableAccessControl, XDisableAccessControl, XHostAddress, XServerInterpretedAddress – control host access and host control structure Syntax int XAddHost(Display *display, XHostAddress *host); int XAddHosts(Display *display, XHostAddress *hosts, int num_hosts); XHostAddress *XListHosts(Display *display, int *nhosts_return, Bool state_return); int XRemoveHost(Display *display, XHostAddress *host); int XRemoveHosts(Display *display, XHostAddress *hosts, int num_hosts); int XSetAccessControl(Display *display, int mode);…

  • |

    XRemoveHost (3) Linux Manual Page

    XAddHost, XAddHosts, XListHosts, XRemoveHost, XRemoveHosts, XSetAccessControl, XEnableAccessControl, XDisableAccessControl, XHostAddress, XServerInterpretedAddress – control host access and host control structure Syntax int XAddHost(Display *display, XHostAddress *host); int XAddHosts(Display *display, XHostAddress *hosts, int num_hosts); XHostAddress *XListHosts(Display *display, int *nhosts_return, Bool state_return); int XRemoveHost(Display *display, XHostAddress *host); int XRemoveHosts(Display *display, XHostAddress *hosts, int num_hosts); int XSetAccessControl(Display *display, int mode);…

  • |

    XRemoveFromSaveSet (3) Linux Manual Page

    XChangeSaveSet, XAddToSaveSet, XRemoveFromSaveSet – change a client’s save set Syntax int XChangeSaveSet(Display *display, Window w, int change_mode); int XAddToSaveSet(Display *display, Window w); int XRemoveFromSaveSet(Display *display, Window w); Arguments change_mode Specifies the mode. You can pass SetModeInsert or SetModeDelete. display Specifies the connection to the X server. w Specifies the window that you want to add…