Add Escape key to quit sent
This commit is contained in:
		
							parent
							
								
									cc57a28eba
								
							
						
					
					
						commit
						243c8cf7b6
					
				@ -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} },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user