mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-21 17:52:51 -04:00
Remove unused variables
This commit is contained in:
parent
c400c44ec1
commit
e63de1220a
2 changed files with 0 additions and 3 deletions
|
@ -847,7 +847,6 @@ void menu_draw ( textbox **boxes,
|
|||
{
|
||||
char *text = filtered[i + offset];
|
||||
TextBoxFontType tbft = ( i + offset ) == selected ? HIGHLIGHT : NORMAL;
|
||||
char *font = config.menu_font;
|
||||
// Check for active
|
||||
if ( text[0] == '*' )
|
||||
{
|
||||
|
|
|
@ -73,8 +73,6 @@ textbox* textbox_create ( Window parent,
|
|||
tb->w = MAX ( 1, w );
|
||||
tb->h = MAX ( 1, h );
|
||||
|
||||
XColor color;
|
||||
Colormap map = DefaultColormap ( display, DefaultScreen ( display ) );
|
||||
unsigned int cp = ( tbft == NORMAL ) ? color_bg.pixel : color_hlbg.pixel;
|
||||
|
||||
tb->window = XCreateSimpleWindow ( display, tb->parent, tb->x, tb->y, tb->w, tb->h, 0, None, cp );
|
||||
|
|
Loading…
Add table
Reference in a new issue