mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
Coding style enforcement
This was done by hand, so I might have missed things. If anyone knows of a good C style enforcement tool, let me know.
This commit is contained in:
parent
af1b3d9755
commit
2139001c9f
11 changed files with 119 additions and 136 deletions
|
|
@ -63,8 +63,8 @@ swayc_t *replace_child(swayc_t *child, swayc_t *new_child) {
|
|||
swayc_t *remove_child(swayc_t *child) {
|
||||
int i;
|
||||
swayc_t *parent = child->parent;
|
||||
// Special case for floating views
|
||||
if (child->is_floating) {
|
||||
// Special case for floating views
|
||||
for (i = 0; i < parent->floating->length; ++i) {
|
||||
if (parent->floating->items[i] == child) {
|
||||
list_del(parent->floating, i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue