mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05: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 )
|
static unsigned int color_get ( Display *display, const char *const name )
|
||||||
{
|
{
|
||||||
int screen_id = DefaultScreen ( display );
|
|
||||||
XColor color = { 0, };
|
XColor color = { 0, };
|
||||||
// Special format.
|
// Special format.
|
||||||
if ( strncmp ( name, "argb:", 5 ) == 0 ) {
|
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 )
|
Window create_window ( Display *display )
|
||||||
{
|
{
|
||||||
Screen *screen = DefaultScreenOfDisplay ( display );
|
|
||||||
Window root = RootWindow ( display, XScreenNumberOfScreen ( screen ) );
|
|
||||||
|
|
||||||
|
|
||||||
XSetWindowAttributes attr;
|
XSetWindowAttributes attr;
|
||||||
attr.colormap = map;
|
attr.colormap = map;
|
||||||
attr.border_pixel = color_get ( display, config.menu_bc );
|
attr.border_pixel = color_get ( display, config.menu_bc );
|
||||||
|
|
Loading…
Reference in a new issue