mirror of
				https://github.com/swaywm/sway.git
				synced 2025-10-29 05:40:18 -04:00 
			
		
		
		
	Merge pull request #3344 from RedSoxFan/bar-mouse-bindings-improved
Improve mouse button parsing: bar mouse bindings
This commit is contained in:
		
						commit
						81bb675274
					
				
					 13 changed files with 208 additions and 114 deletions
				
			
		|  | @ -246,7 +246,7 @@ static bool ipc_parse_config( | |||
| 			struct swaybar_binding *binding = | ||||
| 				calloc(1, sizeof(struct swaybar_binding)); | ||||
| 			binding->button = json_object_get_int( | ||||
| 					json_object_object_get(bindobj, "input_code")); | ||||
| 					json_object_object_get(bindobj, "event_code")); | ||||
| 			binding->command = strdup(json_object_get_string( | ||||
| 					json_object_object_get(bindobj, "command"))); | ||||
| 			binding->release = json_object_get_boolean( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Drew DeVault
						Drew DeVault