mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -05:00
Try to make sidebar separator visible again.
This commit is contained in:
parent
ab82941b5e
commit
0ccd7ef6bf
1 changed files with 5 additions and 7 deletions
|
@ -1430,13 +1430,11 @@ static void menu_update ( MenuState *state )
|
||||||
int line_height = textbox_get_height ( state->text );
|
int line_height = textbox_get_height ( state->text );
|
||||||
XDrawLine ( display, main_window, gc,
|
XDrawLine ( display, main_window, gc,
|
||||||
( config.padding ),
|
( config.padding ),
|
||||||
state->h - line_height - ( config.padding ) + LINE_MARGIN - 1,
|
state->h - line_height - ( config.padding ) - 1,
|
||||||
state->w - ( ( config.padding ) ) - 1,
|
state->w - ( ( config.padding ) ) - 1,
|
||||||
state->h - line_height - ( config.padding ) + LINE_MARGIN - 1 );
|
state->h - line_height - ( config.padding ) - 1 );
|
||||||
if ( config.sidebar_mode == TRUE ) {
|
for ( int j = 0; j < num_switchers; j++ ) {
|
||||||
for ( int j = 0; j < num_switchers; j++ ) {
|
textbox_draw ( switchers[j].tb );
|
||||||
textbox_draw ( switchers[j].tb );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2576,7 +2574,7 @@ int main ( int argc, char *argv[] )
|
||||||
// Check prompt
|
// Check prompt
|
||||||
find_arg_str ( argc, argv, "-p", &dmenu_prompt );
|
find_arg_str ( argc, argv, "-p", &dmenu_prompt );
|
||||||
int retv = run_dmenu ();
|
int retv = run_dmenu ();
|
||||||
// User cancelled the operation.
|
// User canceled the operation.
|
||||||
if ( retv == FALSE ) {
|
if ( retv == FALSE ) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue