扫描窗口管理器启动时需要管理的窗口
This commit is contained in:
11
src/main.c
11
src/main.c
@@ -21,5 +21,16 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
window_list_t *window_list = scan_window_list();
|
||||
if (window_list) {
|
||||
for (uint32_t i = 0; i < window_list->count; i++) {
|
||||
printf("window[%u]: 0x%x\n", i, window_list->list[i]);
|
||||
}
|
||||
} else {
|
||||
printf("no window\n");
|
||||
}
|
||||
|
||||
free_window_list(window_list);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user