summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 22:42:44 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 22:42:44 -0400
commit20f9d49b824fdb7118eab6f559d45b95ecac9331 (patch)
tree2a71d090d60b26a65a987400665f0afea6366543
parentchange reap container approach (diff)
downloadsway-20f9d49b824fdb7118eab6f559d45b95ecac9331.tar.gz
sway-20f9d49b824fdb7118eab6f559d45b95ecac9331.tar.zst
sway-20f9d49b824fdb7118eab6f559d45b95ecac9331.zip
cleanup
-rw-r--r--sway/tree/layout.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index 79470f98..487f895f 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -1,5 +1,4 @@
1#define _POSIX_C_SOURCE 200809L 1#define _POSIX_C_SOURCE 200809L
2#include <assert.h>
3#include <ctype.h> 2#include <ctype.h>
4#include <math.h> 3#include <math.h>
5#include <stdbool.h> 4#include <stdbool.h>
@@ -283,8 +282,6 @@ void arrange_windows(struct sway_container *container,
283 container->children->length); 282 container->children->length);
284 break; 283 break;
285 case L_VERT: 284 case L_VERT:
286 assert(container);
287 assert(container->children);
288 apply_vert_layout(container, x, y, width, height, 0, 285 apply_vert_layout(container, x, y, width, height, 0,
289 container->children->length); 286 container->children->length);
290 break; 287 break;
@@ -357,7 +354,6 @@ void apply_vert_layout(struct sway_container *container,
357 const double x, const double y, 354 const double x, const double y,
358 const double width, const double height, const int start, 355 const double width, const double height, const int start,
359 const int end) { 356 const int end) {
360 assert(container);
361 int i; 357 int i;
362 double scale = 0; 358 double scale = 0;
363 // Calculate total height 359 // Calculate total height