mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-08-02 13:11:57 -07:00
sowm: Enable missing prototypes warning and define win_prev.
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
|||||||
CFLAGS+= -std=c99 -Wall -Wextra -pedantic
|
CFLAGS+= -std=c99 -Wall -Wextra -Wmissing-prototypes -pedantic
|
||||||
LDADD+= -lX11
|
LDADD+= -lX11
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
PREFIX?= /usr
|
PREFIX?= /usr
|
||||||
|
@@ -17,7 +17,9 @@ static struct key keys[] = {
|
|||||||
{MOD, XK_q, win_kill, {0}},
|
{MOD, XK_q, win_kill, {0}},
|
||||||
{MOD, XK_c, win_center, {0}},
|
{MOD, XK_c, win_center, {0}},
|
||||||
{MOD, XK_f, win_fs, {0}},
|
{MOD, XK_f, win_fs, {0}},
|
||||||
|
|
||||||
{Mod1Mask, XK_Tab, win_next, {0}},
|
{Mod1Mask, XK_Tab, win_next, {0}},
|
||||||
|
{Mod1Mask|ShiftMask, XK_Tab, win_prev, {0}},
|
||||||
|
|
||||||
{MOD, XK_d, run, {.com = menu}},
|
{MOD, XK_d, run, {.com = menu}},
|
||||||
{MOD, XK_w, run, {.com = colors}},
|
{MOD, XK_w, run, {.com = colors}},
|
||||||
|
Reference in New Issue
Block a user