Tutorial corrections.
This commit is contained in:
parent
dbd2d96893
commit
f6d4fc007f
|
@ -417,7 +417,7 @@ main ()
|
||||||
Atom *atoms_x;
|
Atom *atoms_x;
|
||||||
double diff_x;
|
double diff_x;
|
||||||
|
|
||||||
c = XCBConnectBasic ();
|
c = XCBConnect (NULL, NULL);
|
||||||
|
|
||||||
count = 500;
|
count = 500;
|
||||||
atoms = (XCBATOM *)malloc (count * sizeof (atoms));
|
atoms = (XCBATOM *)malloc (count * sizeof (atoms));
|
||||||
|
@ -3460,7 +3460,7 @@ XCBConnection *c;
|
||||||
XCBSCREEN *screen;
|
XCBSCREEN *screen;
|
||||||
int screen_nbr;
|
int screen_nbr;
|
||||||
XCBVISUALID root_visual = { 0 };
|
XCBVISUALID root_visual = { 0 };
|
||||||
XCBVISUATYPE *visual_type = NULL; /* the returned visual type */
|
XCBVISUALTYPE *visual_type = NULL; /* the returned visual type */
|
||||||
|
|
||||||
/* you init the connection and screen_nbr */
|
/* you init the connection and screen_nbr */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue