*drive-thru whale* Steve, drive around to the seventh window.

This commit is contained in:
XANTRONIX Development 2019-05-28 00:54:05 -05:00
parent 5e23676de9
commit ffbce9b670

View file

@ -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;
}