xstuff/delete.c
/* Connect to the display, set up the basic variables. */
Connect to the display, set up the basic variables.
Connect to the display set up the basic variables .
static void x_connect ()
{
    text_box.display = XOpenDisplay (NULL);
    if (! text_box.display) {
        fprintf (stderr, "Could not open display.\n");
        exit (1);
    }
    text_box.screen = DefaultScreen (text_box.display);
    text_box.root = RootWindow (text_box.display, text_box.screen);
    text_box.black_pixel = BlackPixel (text_box.display, text_box.screen);
    text_box.white_pixel = WhitePixel (text_box.display, text_box.screen);
}
static void x_connect ( ) { text_box . display = XOpenDisplay ( NULL ) ; if ( ! text_box . display ) { fprintf ( stderr , " \n " ) ; exit ( 1 ) ; } text_box . screen = DefaultScreen ( text_box . display ) ; text_box . root = RootWindow ( text_box . display , text_box . screen ) ; text_box . black_pixel = BlackPixel ( text_box . display , text_box . screen ) ; text_box . white_pixel = WhitePixel ( text_box . display , text_box . screen ) ; }
Connect to the display, set up the basic variables.
Connect to the display set up the basic variables .