/* * orcawm - XCB window manager * * Written in 2020 by Lucas * * To the extent possible under law, the author(s) have dedicated all * copyright and related and neighboring rights to this software to the * public domain worldwide. This software is distributed without any * warranty. * * You should have received a copy of the CC0 Public Domain Dedication * along with this software. If not, see * . */ #include #include #include #include #include "err.h" #include "wm.h" static void usage(void) { fprintf(stderr, "Usage: %s\n", __progname); exit(1); } int main(int argc, char *argv[]) { struct wm wm; if (argc != 1) usage(); wm_setup(&wm); wm_print_screen_info(stderr, &wm); wm_teardown(&wm); return 0; }