mirror of
https://github.com/labwc/labwc.git
synced 2026-03-16 05:33:50 -04:00
interactive: add braces around case containing declaration
This commit is contained in:
parent
bca0ec07ac
commit
0ce10f6afa
1 changed files with 2 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ interactive_begin(struct view *view, enum input_mode mode, enum lab_edge edges)
|
||||||
|
|
||||||
cursor_shape = LAB_CURSOR_GRAB;
|
cursor_shape = LAB_CURSOR_GRAB;
|
||||||
break;
|
break;
|
||||||
case LAB_INPUT_STATE_RESIZE:
|
case LAB_INPUT_STATE_RESIZE: {
|
||||||
if (view->shaded || view->fullscreen ||
|
if (view->shaded || view->fullscreen ||
|
||||||
view->maximized == VIEW_AXIS_BOTH) {
|
view->maximized == VIEW_AXIS_BOTH) {
|
||||||
/*
|
/*
|
||||||
|
|
@ -133,6 +133,7 @@ interactive_begin(struct view *view, enum input_mode mode, enum lab_edge edges)
|
||||||
view_set_untiled(view);
|
view_set_untiled(view);
|
||||||
cursor_shape = cursor_get_from_edge(edges);
|
cursor_shape = cursor_get_from_edge(edges);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
/* Should not be reached */
|
/* Should not be reached */
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue