@@ -38,19 +38,19 @@ struct command {
38
38
};
39
39
static const struct command command_table [] = {
40
40
{ "window_move" , IPCWindowMoveRelative , false, 2 , fn_int },
41
- { "window_move_absolute" , IPCWindowMoveAbsolute , false, 2 , fn_int },
41
+ { "window_move_absolute" , IPCWindowMoveAbsolute , false, 2 , fn_int },
42
42
{ "window_resize" , IPCWindowResizeRelative , false, 2 , fn_int },
43
43
{ "window_resize_absolute" , IPCWindowResizeAbsolute , false, 2 , fn_int },
44
44
{ "window_raise" , IPCWindowRaise , false, 0 , NULL },
45
45
{ "window_monocle" , IPCWindowMonocle , false, 0 , NULL },
46
46
{ "window_close" , IPCWindowClose , false, 0 , NULL },
47
47
{ "window_center" , IPCWindowCenter , false, 0 , NULL },
48
48
{ "focus_color" , IPCFocusColor , true, 1 , fn_hex },
49
- { "unfocus_color" , IPCUnfocusColor , true, 1 , fn_hex },
49
+ { "unfocus_color" , IPCUnfocusColor , true, 1 , fn_hex },
50
50
{ "inner_focus_color" , IPCInnerFocusColor , true, 1 , fn_hex },
51
- { "inner_unfocus_color" , IPCInnerUnfocusColor , true, 1 , fn_hex },
52
- { "text_focus_color" , IPCTitleFocusColor , true, 1 , fn_hex },
53
- { "text_unfocus_color" , IPCTitleUnfocusColor , true, 1 , fn_hex },
51
+ { "inner_unfocus_color" , IPCInnerUnfocusColor , true, 1 , fn_hex },
52
+ { "text_focus_color" , IPCTitleFocusColor , true, 1 , fn_hex },
53
+ { "text_unfocus_color" , IPCTitleUnfocusColor , true, 1 , fn_hex },
54
54
{ "border_width" , IPCBorderWidth , true, 1 , fn_int },
55
55
{ "inner_border_width" , IPCInnerBorderWidth , true, 1 , fn_int },
56
56
{ "title_height" , IPCTitleHeight , true, 1 , fn_int },
@@ -126,7 +126,7 @@ fn_str(long *data, bool b, int i, char **argv)
126
126
/* This function works by setting a new atom globally on the root
127
127
* window called BERRY_FONT_PROPERTY which tells berry what font
128
128
* to use for window decoration.
129
- * We set the font here in the client and then send a message to
129
+ * We set the font here in the client and then send a message to
130
130
* berry, notifying the main program to read this value
131
131
*/
132
132
static void
@@ -137,7 +137,7 @@ fn_font(long *data, bool b, int i, char** argv)
137
137
UNUSED (data );
138
138
char * * font_list ;
139
139
XTextProperty font_prop ;
140
-
140
+
141
141
font_list = malloc (sizeof (char * ));
142
142
font_list [0 ] = argv [0 ];
143
143
Xutf8TextListToTextProperty (display , font_list , 1 ,
@@ -208,7 +208,7 @@ send_command(const struct command *c, int argc, char **argv)
208
208
ev .xclient .message_type = XInternAtom (display , BERRY_CLIENT_EVENT , False );
209
209
ev .xclient .format = 32 ;
210
210
211
- /* We use the following protocol:
211
+ /* We use the following protocol:
212
212
* If the given command is related to berry's confid then assign it a value of
213
213
* IPCConfig at d[0]. Then, assign the specific config element at d[1], shifting
214
214
* all values up by one.
@@ -245,7 +245,7 @@ main(int argc, char **argv)
245
245
c_argc = argc - 2 ;
246
246
c_argv = argv + 2 ;
247
247
248
- if (c_argc == -1 )
248
+ if (c_argc == -1 )
249
249
return 1 ;
250
250
else if (strcmp (argv [1 ], "-h" ) == 0 )
251
251
usage ();
0 commit comments