mirror of
https://github.com/davatorium/rofi.git
synced 2024-10-27 05:23:18 -04:00
Fix unused variables.
This commit is contained in:
parent
2142103168
commit
460b82efc3
1 changed files with 0 additions and 5 deletions
|
@ -390,7 +390,6 @@ static void create_visual_and_colormap ()
|
|||
*/
|
||||
static unsigned int color_get ( Display *display, const char *const name )
|
||||
{
|
||||
int screen_id = DefaultScreen ( display );
|
||||
XColor color = { 0, };
|
||||
// Special format.
|
||||
if ( strncmp ( name, "argb:", 5 ) == 0 ) {
|
||||
|
@ -865,10 +864,6 @@ static void window_set_opacity ( Display *display, Window box, unsigned int opac
|
|||
|
||||
Window create_window ( Display *display )
|
||||
{
|
||||
Screen *screen = DefaultScreenOfDisplay ( display );
|
||||
Window root = RootWindow ( display, XScreenNumberOfScreen ( screen ) );
|
||||
|
||||
|
||||
XSetWindowAttributes attr;
|
||||
attr.colormap = map;
|
||||
attr.border_pixel = color_get ( display, config.menu_bc );
|
||||
|
|
Loading…
Reference in a new issue