| 1 | // SPDX-License-Identifier: MPL-2.0 |
| 2 | // Copyright (c) 2024 Yuxuan Shui <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | #include <xcb/xcb.h> |
| 6 | #include "wm/win.h" |
| 7 | |
| 8 | struct x_connection; |
| 9 | struct c2_state; |
| 10 | struct options; |
| 11 | |
| 12 | int inspect_main(int argc, char **argv, const char *config_file); |
| 13 | xcb_window_t inspect_select_window(struct x_connection *c); |
| 14 | void inspect_dump_window(const struct c2_state *state, const struct options *opts, |
| 15 | const struct win *w); |
| 16 | void inspect_dump_window_maybe_options(struct window_maybe_options wopts); |