Skip to content

Commit 10ebcac

Browse files
authored
released at 0.1.8
1 parent bfefa23 commit 10ebcac

File tree

4 files changed

+240
-239
lines changed

4 files changed

+240
-239
lines changed

CHANGELOG

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.1.8] - 2021-03-14
8+
### Fixed
9+
- free(ev), which is called erroneously when ev might equal NULL.
10+
711
## [0.1.7] - 2021-03-03
812
### Fixed
913
- Memory leak due to xcb_wait_for_event() not being freed.

config.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,26 @@
3131

3232
/* ALIASED COMMANDS
3333
* Each space delimited argument should be passed as an additional
34-
* value to the character pointer array. For example, to run
34+
* value to the character pointer array. For example, to run
3535
* "foo -a bar", the array would be "{ "foo", "-a", "bar", NULL }".
3636
* Since execvp() is a variadic functions, each argument pointer must
3737
* be terminated by a NULL pointer.
3838
*/
3939

40-
static char * termcmd[] = { "st", NULL };
41-
static char * menucmd[] = { "dmenu_run", NULL };
42-
static char * browcmd[] = { "surf", "https://startpage.com", NULL };
40+
static char *termcmd[] = { "st", NULL };
41+
static char *menucmd[] = { "dmenu_run", NULL };
42+
static char *browcmd[] = { "surf", "https://startpage.com", NULL };
4343

4444
/* KEY ALIASES
4545
* In general, one shortcut key should exist per alias. For more key
4646
* definitions, refer to the keysymdef.h and XF86keysym.h headers.
4747
*/
4848

4949
static Key keys[] = {
50-
{ MOD1, 0x0062, spawn, browcmd }, /* 0x0062 = XK_b */
51-
{ MOD1, 0xff0d, spawn, termcmd }, /* 0xff0d = XK_Enter */
52-
{ MOD1, 0x0020, spawn, menucmd }, /* 0x0020 = XK_space */
53-
{ MOD1, 0x0066, fullclient, NULL }, /* 0x0066 = XK_f */
54-
{ MOD1, 0x0071, killclient, NULL }, /* 0x0071 = XK_q */
55-
{ MOD1|MOD2, 0x0071, closewm, NULL } /* 0x0071 = XK_q */
50+
{ MOD1, 0x0062, spawn, browcmd }, /* 0x0062 = XK_b */
51+
{ MOD1, 0xff0d, spawn, termcmd }, /* 0xff0d = XK_Enter */
52+
{ MOD1, 0x0020, spawn, menucmd }, /* 0x0020 = XK_space */
53+
{ MOD1, 0x0066, fullclient, NULL }, /* 0x0066 = XK_f */
54+
{ MOD1, 0x0071, killclient, NULL }, /* 0x0071 = XK_q */
55+
{ MOD1|MOD2, 0x0071, closewm, NULL } /* 0x0071 = XK_q */
5656
};

0 commit comments

Comments
 (0)