Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIcmd (or Screen) mode #92

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ALWAYS keep config.def.h up-to-date
  • Loading branch information
t4nkw4rt committed Apr 1, 2016
commit 11d35df54ed961a27ad312bd823ddaec4295c367
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MANPREFIX = ${PREFIX}/share/man
INCS = -I. -I${PREFIX}/include -I/usr/X11R6/include
LIBS = -lc -lX11 `pkg-config --libs xcb xcb-aux xcb-icccm xcb-keysyms xcb-ewmh`

CFLAGS += -std=c99 -pedantic -Wall -Wextra ${INCS} ${CPPFLAGS}
CFLAGS += -std=c99 -pedantic -Wall -Wfatal-errors -Wextra ${INCS} ${CPPFLAGS}
LDFLAGS += ${LIBS}

EXEC = ${WMNAME}
Expand Down
5 changes: 4 additions & 1 deletion config.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ static const char *scrpcmd[] = { "xterm", "-T", "scratchpad", NULL };
static key keys[] = {
/* modifier key function argument */

/* screen style commands invoke */
{ CONTROL, XK_a, togglecmdmode, {NULL}},

/* select windows */
{ MOD4, XK_j, next_win, {NULL}},
{ MOD4, XK_k, prev_win, {NULL}},
Expand Down Expand Up @@ -151,7 +154,7 @@ static key keys[] = {
DESKTOPCHANGE( XK_F7, 6)
DESKTOPCHANGE( XK_F8, 7)
DESKTOPCHANGE( XK_F9, 8)
DESKTOPCHANGE( XK_F0, 9)
DESKTOPCHANGE( XK_F10, 9)
/* toggle to last desktop */
{ MOD4, XK_Tab, last_desktop, {NULL}},
/* jump to the next/previous desktop */
Expand Down
1 change: 0 additions & 1 deletion frankenwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
# define DEBUG(x);
# define DEBUGP(x, ...);
#endif

/* upstream compatility */
#define True true
#define False false
Expand Down