Implement rectangular mouse selection.
Thanks Alexander Sedov <alex0player@gmail.com>!
This commit is contained in:
		
							
								
								
									
										12
									
								
								config.def.h
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								config.def.h
									
									
									
									
									
								
							| @ -305,3 +305,15 @@ static Key key[] = { | ||||
| 	{ XK_F35,           XK_NO_MOD,      "\033[23;5~",    0,    0,    0}, | ||||
| }; | ||||
|  | ||||
| /* | ||||
|  * Selection types' masks. | ||||
|  * Use the same masks as usual. | ||||
|  * Button1Mask is always unset, to make masks match between ButtonPress. | ||||
|  * ButtonRelease and MotionNotify. | ||||
|  * If no match is found, regular selection is used. | ||||
|  */ | ||||
|  | ||||
| static uint selmasks[] = { | ||||
| 	[SEL_RECTANGULAR] = Mod1Mask, | ||||
| }; | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user