Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new stuff (some warning elimination)
[dwm.git]
/
kb.c
diff --git
a/kb.c
b/kb.c
index
2f16910
..
f93f69f
100644
(file)
--- a/
kb.c
+++ b/
kb.c
@@
-9,13
+9,13
@@
/********** CUSTOMIZE **********/
/********** CUSTOMIZE **********/
-char *term[] = {
+const char *term[] = {
"aterm", "-tr", "+sb", "-bg", "black", "-fg", "white", "-fn",
"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*",NULL
};
static Key key[] = {
"aterm", "-tr", "+sb", "-bg", "black", "-fg", "white", "-fn",
"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*",NULL
};
static Key key[] = {
- { Mod1Mask, XK_Return, run, term },
+ { Mod1Mask, XK_Return, (void (*)(void *))spawn, term },
{ Mod1Mask, XK_k, sel, "prev" },
{ Mod1Mask, XK_j, sel, "next" },
{ Mod1Mask, XK_g, grid, NULL },
{ Mod1Mask, XK_k, sel, "prev" },
{ Mod1Mask, XK_j, sel, "next" },
{ Mod1Mask, XK_g, grid, NULL },
@@
-28,7
+28,7
@@
static Key key[] = {
/********** CUSTOMIZE **********/
void
/********** CUSTOMIZE **********/
void
-update_keys()
+update_keys(void)
{
unsigned int i, len;
KeyCode code;
{
unsigned int i, len;
KeyCode code;