diff --git a/src/x.c b/src/x.c index f37e96a..a5e5c70 100644 --- a/src/x.c +++ b/src/x.c @@ -67,7 +67,7 @@ static color_t x_color_hex_to_double(int hexValue) color.g = ((hexValue >> 8) & 0xFF) / 255.0; color.b = ((hexValue) & 0xFF) / 255.0; - return color; + return color; } static color_t x_string_to_color_t(const char *str) @@ -520,10 +520,10 @@ static GSList *r_create_layouts(cairo_t *c) r_create_layout_from_notification(c, n)); } - if (xmore_is_needed && xctx.geometry.h != 1) { - /* append xmore message as new message */ - layouts = g_slist_append(layouts, - r_create_layout_for_xmore(c, last, qlen)); + if (xmore_is_needed && xctx.geometry.h != 1) { + /* append xmore message as new message */ + layouts = g_slist_append(layouts, + r_create_layout_for_xmore(c, last, qlen)); } return layouts; @@ -706,7 +706,6 @@ static void x_win_move(int width, int height) xctx.window_dim.w = width; } - static void setopacity(Window win, unsigned long opacity) { Atom _NET_WM_WINDOW_OPACITY = @@ -715,12 +714,6 @@ static void setopacity(Window win, unsigned long opacity) PropModeReplace, (unsigned char *)&opacity, 1L); } - - - - - - /* * Returns the modifier which is NumLock. */ @@ -1113,7 +1106,6 @@ void x_setup(void) } - static void x_set_wm(Window win) {