clang-format-3.5 **/*.h **/*.c
This should be the last commit that formats a big bunch of files. From here on, whenever I merge patches, I’ll run clang-format like described in the title.
This commit is contained in:
i3-config-wizard
i3-input
i3-nagbar
i3bar
include
src
include
bindings.hcon.hconfig.hconfig_directives.hdata.hfloating.hi3.h
i3
ipc.hlibi3.hlog.hqueue.hsd-daemon.hstartup.hutil.hworkspace.hxcb.hyajl_utils.hsrc
assignments.cbindings.cclick.ccommands.ccon.cconfig.cconfig_directives.cconfig_parser.cewmh.cfake_outputs.cfloating.chandlers.cipc.cload_layout.cmain.cmanage.cmatch.coutput.crandr.crender.crestore_layout.cscratchpad.csighandler.cstartup.ctree.cworkspace.cx.cxinerama.c
tests
20
src/manage.c
20
src/manage.c
@@ -56,16 +56,16 @@ void restore_geometry(void) {
|
||||
DLOG("Restoring geometry\n");
|
||||
|
||||
Con *con;
|
||||
TAILQ_FOREACH (con, &all_cons, all_cons)
|
||||
if (con->window) {
|
||||
DLOG("Re-adding X11 border of %d px\n", con->border_width);
|
||||
con->window_rect.width += (2 * con->border_width);
|
||||
con->window_rect.height += (2 * con->border_width);
|
||||
xcb_set_window_rect(conn, con->window->id, con->window_rect);
|
||||
DLOG("placing window %08x at %d %d\n", con->window->id, con->rect.x, con->rect.y);
|
||||
xcb_reparent_window(conn, con->window->id, root,
|
||||
con->rect.x, con->rect.y);
|
||||
}
|
||||
TAILQ_FOREACH(con, &all_cons, all_cons)
|
||||
if (con->window) {
|
||||
DLOG("Re-adding X11 border of %d px\n", con->border_width);
|
||||
con->window_rect.width += (2 * con->border_width);
|
||||
con->window_rect.height += (2 * con->border_width);
|
||||
xcb_set_window_rect(conn, con->window->id, con->window_rect);
|
||||
DLOG("placing window %08x at %d %d\n", con->window->id, con->rect.x, con->rect.y);
|
||||
xcb_reparent_window(conn, con->window->id, root,
|
||||
con->rect.x, con->rect.y);
|
||||
}
|
||||
|
||||
/* Strictly speaking, this line doesn’t really belong here, but since we
|
||||
* are syncing, let’s un-register as a window manager first */
|
||||
|
Reference in New Issue
Block a user