switch to clang-format-3.8 (#2547)
https://llvm.org/bugs/show_bug.cgi?id=30353 was filed for the unintended line break between in e.g. “TAILQ_ENTRY(foo)\nbar;”. Until that’s fixed or a workaround is known, we’ll live with line breaks. To make it a bit easier for readers to see what’s going on, I added extra line breaks around each such struct member/variable definition, so that they at least visually are a single unit. fixes #2174
This commit is contained in:
committed by
GitHub
parent
4ccac59932
commit
fff3f79da9
@ -167,7 +167,7 @@ bool match_matches_window(Match *match, i3Window *window) {
|
||||
/* if we find a window that is newer than this one, bail */
|
||||
TAILQ_FOREACH(con, &all_cons, all_cons) {
|
||||
if ((con->window != NULL) &&
|
||||
_i3_timercmp(con->window->urgent, window->urgent, > )) {
|
||||
_i3_timercmp(con->window->urgent, window->urgent, >)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -183,7 +183,7 @@ bool match_matches_window(Match *match, i3Window *window) {
|
||||
TAILQ_FOREACH(con, &all_cons, all_cons) {
|
||||
if ((con->window != NULL) &&
|
||||
(con->window->urgent.tv_sec != 0) &&
|
||||
_i3_timercmp(con->window->urgent, window->urgent, < )) {
|
||||
_i3_timercmp(con->window->urgent, window->urgent, <)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user