Add Escape key to quit sent

This commit is contained in:
Ivan Tham 2015-11-18 10:01:50 +08:00 committed by Markus Teich
parent cc57a28eba
commit 243c8cf7b6

View File

@ -25,6 +25,7 @@ static Mousekey mshortcuts[] = {
static Shortcut shortcuts[] = { static Shortcut shortcuts[] = {
/* keysym function argument */ /* keysym function argument */
{ XK_Escape, quit, {0} },
{ XK_q, quit, {0} }, { XK_q, quit, {0} },
{ XK_Right, advance, {.i = +1} }, { XK_Right, advance, {.i = +1} },
{ XK_Left, advance, {.i = -1} }, { XK_Left, advance, {.i = -1} },