Пример #1
0
void shutdown_destroy() {

	shutdown_hide();
	cairo_surface_destroy(shutdown_win.surface);
	xcb_destroy_window(conn,shutdown_win.window);
	wincache_destroy_element(shutdown_win.window);
}
Пример #2
0
void destroy_tabletwm() {

	shutdown_destroy();
	wincache_destroy_element(key_win.window);
	destroy_keycodes();
	menuwin_destroy();
	xcb_destroy_window(conn, key_win.window);
	xcb_flush(conn);
	cairo_debug_reset_static_data ();
	for(int i = 0; i < 5; i++) {
		free(xkb_names[i]);
	}
}