diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-02-15 07:16:28 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-02-15 07:16:28 +0100 |
commit | 6ae96c4832626642670aa6fdc207f659812753f3 (patch) | |
tree | 26027360adde20ed205f29e513805daf7c3ca028 | |
parent | db9c2c11f65dbc1e01485b8afaa21c874d15140f (diff) |
wlr_xdg_shell: (style) add break to final switch case
-rw-r--r-- | types/wlr_xdg_shell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/types/wlr_xdg_shell.c b/types/wlr_xdg_shell.c index 985c180a..0735d416 100644 --- a/types/wlr_xdg_shell.c +++ b/types/wlr_xdg_shell.c @@ -420,6 +420,7 @@ static struct wlr_box xdg_positioner_get_geometry( default: geometry.y += positioner->anchor_rect.y + positioner->anchor_rect.height / 2; + break; } switch (positioner->anchor) { @@ -436,6 +437,7 @@ static struct wlr_box xdg_positioner_get_geometry( default: geometry.x += positioner->anchor_rect.x + positioner->anchor_rect.width / 2; + break; } switch (positioner->gravity) { @@ -451,6 +453,7 @@ static struct wlr_box xdg_positioner_get_geometry( break; default: geometry.y -= geometry.height / 2; + break; } switch (positioner->gravity) { @@ -466,6 +469,7 @@ static struct wlr_box xdg_positioner_get_geometry( break; default: geometry.x -= geometry.width / 2; + break; } if (positioner->constraint_adjustment == |