From: Michael Stapelberg Date: Fri, 26 Jun 2009 11:27:06 +0000 (+0200) Subject: Merge branch 'next' (3.β is stable now) X-Git-Tag: 3.c~71 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=28c4b045d69284d19cdbae01cf6a9e9f91889e04;p=i3%2Fi3 Merge branch 'next' (3.β is stable now) --- 28c4b045d69284d19cdbae01cf6a9e9f91889e04 diff --cc debian/control index e0807987,bd37b892..c8834dee --- a/debian/control +++ b/debian/control @@@ -1,10 -1,10 +1,10 @@@ Source: i3-wm Section: utils - Priority: optional + Priority: extra Maintainer: Michael Stapelberg DM-Upload-Allowed: yes - Build-Depends: debhelper (>= 5), libx11-dev, libxcb-aux0-dev (>= 0.3.3), libxcb-keysyms1-dev, libxcb-xinerama0-dev (>= 1.1), libxcb-event1-dev (>= 0.3.3), libxcb-property1-dev (>= 0.3.3), libxcb-atom1-dev (>= 0.3.3), libxcb-icccm1-dev (>= 0.3.3), asciidoc (>= 8.4.4-1), xmlto, docbook-xml, pkg-config - Standards-Version: 3.8.0 + Build-Depends: debhelper (>= 5), libx11-dev, libxcb-aux0-dev (>= 0.3.3), libxcb-keysyms1-dev, libxcb-xinerama0-dev (>= 1.1), libxcb-event1-dev (>= 0.3.3), libxcb-property1-dev (>= 0.3.3), libxcb-atom1-dev (>= 0.3.3), libxcb-icccm1-dev (>= 0.3.3), asciidoc (>= 8.4.4-1), xmlto, docbook-xml, pkg-config, libev-dev -Standards-Version: 3.8.0 ++Standards-Version: 3.8.2 Homepage: http://i3.zekjur.net/ Package: i3 diff --cc docs/hacking-howto index 72796b0c,ceff2a84..22649c38 --- a/docs/hacking-howto +++ b/docs/hacking-howto @@@ -107,27 -107,39 +107,42 @@@ Contains forward definitions for all pu comments (so if you want to get a bit more of the big picture, either browse all header files or use doxygen if you prefer that). + src/client.c:: + Contains all functions which are specific to a certain client (make it + fullscreen, see if its class/name matches a pattern, kill it, …). + src/commands.c:: - Parsing commands + Parsing commands and actually execute them (focussing, moving, …). src/config.c:: - Parses the configuration file + Parses the configuration file. src/debug.c:: - Contains debugging functions to print unhandled X events + Contains debugging functions to print unhandled X events. + + src/floating.c:: + Contains functions for floating mode (mostly resizing/dragging). src/handlers.c:: - Contains all handlers for all kind of X events + Contains all handlers for all kind of X events (new window title, new hints, + unmapping, key presses, button presses, …). src/layout.c:: - Renders your layout (screens, workspaces, containers) + Renders your layout (screens, workspaces, containers). src/mainx.c:: - Initializes the window manager + Initializes the window manager. + + src/manage.c:: + Looks at existing or new windows and decides whether to manage them. If so, it + reparents the window and inserts it into our data structures. + + src/resize.c:: + Contains the functions to resize columns/rows in the table. +src/resize.c:: +Contains the functions to resize columns/rows in the table. + src/table.c:: Manages the most important internal data structure, the design table. diff --cc include/util.h index 889dcf12,c7209061..3fd6b18a --- a/include/util.h +++ b/include/util.h @@@ -124,29 -124,22 +124,33 @@@ void check_error(xcb_connection_t *conn char *convert_utf8_to_ucs2(char *input, int *real_strlen); /** - * Removes the given client from the container, either because it will be inserted into another - * one or because it was unmapped + * Returns the client which comes next in focus stack (= was selected before) for + * the given container, optionally excluding the given client. * */ - void remove_client_from_container(xcb_connection_t *conn, Client *client, Container *container); + Client *get_last_focused_client(xcb_connection_t *conn, Container *container, Client *exclude); /** - * Returns the client which comes next in focus stack (= was selected before) for - * the given container, optionally excluding the given client. + * Unmaps all clients (and stack windows) of the given workspace. + * + * This needs to be called separately when temporarily rendering + * a workspace which is not the active workspace to force + * reconfiguration of all clients, like in src/xinerama.c when + * re-assigning a workspace to another screen. * */ - Client *get_last_focused_client(xcb_connection_t *conn, Container *container, Client *exclude); + void unmap_workspace(xcb_connection_t *conn, Workspace *u_ws); + +/** + * Unmaps all clients (and stack windows) of the given workspace. + * + * This needs to be called separately when temporarily rendering + * a workspace which is not the active workspace to force + * reconfiguration of all clients, like in src/xinerama.c when + * re-assigning a workspace to another screen. + * + */ +void unmap_workspace(xcb_connection_t *conn, Workspace *u_ws); /** * Sets the given client as focused by updating the data structures correctly, diff --cc website/screenshots/index.html index a7f95852,1651286b..a46ea8eb --- a/website/screenshots/index.html +++ b/website/screenshots/index.html @@@ -75,10 -75,7 +75,9 @@@ li
  • i3 v3.b (not yet released), Atsutane had too much free time and formed an i3 logo out of terminals :-)
  • - +
  • + i3 v3.α-bf2, mc, vim, xosview, mplayer, irssi, gajim, i3status +
  • -

    Screencasts