diff options
author | Dave Davenport <qball@gmpclient.org> | 2020-11-03 23:57:02 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2020-11-03 23:57:02 +0100 |
commit | 7061eb21ae1625260eeb5715d42a820450c6c513 (patch) | |
tree | da5638189d2526bd421e15d500f92bfaf992405c /source/view.c | |
parent | d8eaeec66d0d2f4d4c75992b0dcf211d0f42f49d (diff) |
Indent round.
Diffstat (limited to 'source/view.c')
-rw-r--r-- | source/view.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/view.c b/source/view.c index 5ba1309a..d28dea75 100644 --- a/source/view.c +++ b/source/view.c @@ -416,7 +416,7 @@ static void rofi_view_calculate_window_position ( RofiViewState *state ) static void rofi_view_window_update_size ( RofiViewState * state ) { if ( state == NULL ) { - return; + return; } uint16_t mask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT; uint32_t vals[] = { state->x, state->y, state->width, state->height }; @@ -495,12 +495,12 @@ RofiViewState * rofi_view_get_active ( void ) void rofi_view_remove_active ( RofiViewState *state ) { - if ( state == current_active_menu ) { - rofi_view_set_active ( NULL ); - } - else if ( state ) { - g_queue_remove ( &(CacheState.views ), state); - } + if ( state == current_active_menu ) { + rofi_view_set_active ( NULL ); + } + else if ( state ) { + g_queue_remove ( &( CacheState.views ), state ); + } } void rofi_view_set_active ( RofiViewState *state ) { |