# | Line 78 | Line 78 | static struct driver x_driver = { | |
---|---|---|
78 | ||
79 | ||
80 | struct driver * | |
81 | < | x_init(name) /* initialize driver */ |
82 | < | char *name; |
81 | > | x_init(name, id) /* initialize driver */ |
82 | > | char *name, *id; |
83 | { | |
84 | ourdisplay = XOpenDisplay(NULL); | |
85 | if (ourdisplay == NULL) { | |
# | Line 98 | Line 98 | char *name; | |
98 | bcross_bits, bcross_mask_bits, | |
99 | bcross_x_hot, bcross_y_hot, | |
100 | BlackPixel, WhitePixel, GXcopy); | |
101 | < | clientname = name; |
101 | > | clientname = id; |
102 | x_driver.inpready = 0; | |
103 | cmdvec = x_comout; /* set error vectors */ | |
104 | if (wrnvec != NULL) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |