mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #3209 from RedSoxFan/fix-3146
Do not strip quotes for cmd_mode
This commit is contained in:
		
						commit
						60e1fb547c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -420,6 +420,7 @@ struct cmd_results *config_command(char *exec) {
 | 
				
			||||||
	// Strip quotes and unescape the string
 | 
						// Strip quotes and unescape the string
 | 
				
			||||||
	for (int i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) {
 | 
						for (int i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) {
 | 
				
			||||||
		if (handler->handle != cmd_exec && handler->handle != cmd_exec_always
 | 
							if (handler->handle != cmd_exec && handler->handle != cmd_exec_always
 | 
				
			||||||
 | 
									&& handler->handle != cmd_mode
 | 
				
			||||||
				&& handler->handle != cmd_bindsym
 | 
									&& handler->handle != cmd_bindsym
 | 
				
			||||||
				&& handler->handle != cmd_bindcode
 | 
									&& handler->handle != cmd_bindcode
 | 
				
			||||||
				&& handler->handle != cmd_set
 | 
									&& handler->handle != cmd_set
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue