run clang-format (3.5.0)
Not quite sure why there are so many differences. Perhaps we’ve gotten out of the habit of running clang-format after every change. I guess it’d be best to have a travis hook that runs clang-format for us and reports any problems on pull requests.
This commit is contained in:
parent
0876bd621f
commit
091f1db39a
|
@ -372,8 +372,7 @@ void handle_button(xcb_button_press_event_t *event) {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
last_block_x = block_x;
|
last_block_x = block_x;
|
||||||
block_x += block->width + block->x_offset + block->x_append
|
block_x += block->width + block->x_offset + block->x_append + get_sep_offset(block) + sep_offset_remainder;
|
||||||
+ get_sep_offset(block) + sep_offset_remainder;
|
|
||||||
|
|
||||||
if (x <= block_x && x >= last_block_x) {
|
if (x <= block_x && x >= last_block_x) {
|
||||||
send_block_clicked(event->detail, block->name, block->instance, event->root_x, event->root_y);
|
send_block_clicked(event->detail, block->name, block->instance, event->root_x, event->root_y);
|
||||||
|
|
|
@ -397,7 +397,8 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
|
||||||
ystr("transient_for");
|
ystr("transient_for");
|
||||||
if (con->window->transient_for == XCB_NONE)
|
if (con->window->transient_for == XCB_NONE)
|
||||||
y(null);
|
y(null);
|
||||||
else y(integer, con->window->transient_for);
|
else
|
||||||
|
y(integer, con->window->transient_for);
|
||||||
|
|
||||||
y(map_close);
|
y(map_close);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue