Fix incorrect indentation
This commit is contained in:
parent
41d3b61f3c
commit
ad6557239a
18
src/x.c
18
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)
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user