*drive-thru whale* Steve, drive around to the seventh window.
This commit is contained in:
parent
5e23676de9
commit
ffbce9b670
1 changed files with 7 additions and 13 deletions
|
@ -232,7 +232,6 @@ int main(int argc, char **argv) {
|
|||
width = 1024,
|
||||
height = 480;
|
||||
|
||||
cairo_surface_t *sfc;
|
||||
cairo_t *cr;
|
||||
|
||||
if ((can_if = hexagram_can_if_open("vcan0")) == NULL)
|
||||
|
@ -256,9 +255,7 @@ int main(int argc, char **argv) {
|
|||
/*
|
||||
* Set up the foreground surface
|
||||
*/
|
||||
sfc = window->surface_fg;
|
||||
|
||||
cr = cairo_create(sfc);
|
||||
cr = hexagram_window_create_fg_context(window);
|
||||
|
||||
/*
|
||||
* Set up file descriptors to monitor
|
||||
|
@ -314,10 +311,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
}
|
||||
|
||||
cairo_destroy(cr);
|
||||
|
||||
cairo_surface_destroy(sfc);
|
||||
XCloseDisplay(display);
|
||||
hexagram_window_destroy(window);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue