}
free(reply);
+
+ if (num_screens == 0) {
+ LOG("No screens found. This is weird.\n");
+ exit(1);
+ }
}
static void initialize_screen(xcb_connection_t *conn, i3Screen *screen, Workspace *workspace) {
*
*/
void xinerama_requery_screens(xcb_connection_t *conn) {
+ i3Font *font = load_font(conn, config.font);
+
/* POSSIBLE PROBLEM: Is the order of the Xinerama screens always constant? That is, can
it change when I move the --right-of video projector to --left-of? */
screen->bar = workspaces[c].screen->bar;
screen->bargc = workspaces[c].screen->bargc;
+ Rect bar_rect = {screen->rect.x,
+ screen->rect.height - (font->height + 6),
+ screen->rect.x + screen->rect.width,
+ font->height + 6};
+
+ xcb_configure_window(conn, screen->bar, XCB_CONFIG_WINDOW_X |
+ XCB_CONFIG_WINDOW_Y |
+ XCB_CONFIG_WINDOW_WIDTH |
+ XCB_CONFIG_WINDOW_HEIGHT, &(bar_rect.x));
+
/* Copy the list head for the dock clients */
screen->dock_clients = workspaces[c].screen->dock_clients;
</p>
<ul>
+ <li>
+ <a href="/downloads/i3-3.a-bf2.tar.bz2">i3-3.a-bf2.tar.bz2</a>
+ (<a href="/downloads/i3-3.a-bf2.tar.bz2.asc">GPG signature</a>), Version 3.α-bf2, 65 KiB, 2009-05-03,
+ hotfix for a problem with -bf1
+ </li>
<li>
<a href="/downloads/i3-3.a-bf1.tar.bz2">i3-3.a-bf1.tar.bz2</a>
(<a href="/downloads/i3-3.a-bf1.tar.bz2.asc">GPG signature</a>), Version 3.α-bf1, 65 KiB, 2009-05-03,