return 1;
}
+#endif
/*
* Gets triggered upon a RandR screen change event, that is when the user
*/
int handle_screen_change(void *prophs, xcb_connection_t *conn,
xcb_generic_event_t *e) {
- DLOG("RandR screen change\n");
+ DLOG("RandR screen change\n");
- randr_query_outputs(conn);
+ randr_query_outputs();
- ipc_send_event("output", I3_IPC_EVENT_OUTPUT, "{\"change\":\"unspecified\"}");
+ ipc_send_event("output", I3_IPC_EVENT_OUTPUT, "{\"change\":\"unspecified\"}");
- return 1;
+ return 1;
}
-#endif
/*
* Our window decorations were unmapped. That means, the window will be killed