Get outputs on start. Create dock window for every output.

This commit is contained in:
Axel Wagner
2010-07-23 05:04:13 +02:00
parent a3a7a2ca52
commit 72b55fdd4f
4 changed files with 19 additions and 42 deletions

View File

@ -1,4 +1,5 @@
#include <stdio.h>
#include <i3/ipc.h>
#include <string.h>
#include <unistd.h>
#include <ev.h>
@ -17,6 +18,8 @@ int main(int argc, char **argv) {
subscribe_events();
i3_send_msg(I3_IPC_MESSAGE_TYPE_GET_OUTPUTS, NULL);
ev_loop(main_loop, 0);
ev_default_destroy();