mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Preserve workspace name
This commit is contained in:
		
							parent
							
								
									f6db3acd24
								
							
						
					
					
						commit
						d37c94d1b6
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
					@ -124,9 +124,6 @@ static void workspace_name_from_binding(const struct sway_binding * binding,
 | 
				
			||||||
		char *_target = strdup(name);
 | 
							char *_target = strdup(name);
 | 
				
			||||||
		_target = do_var_replacement(_target);
 | 
							_target = do_var_replacement(_target);
 | 
				
			||||||
		strip_quotes(_target);
 | 
							strip_quotes(_target);
 | 
				
			||||||
		while (isspace(*_target)) {
 | 
					 | 
				
			||||||
			memmove(_target, _target+1, strlen(_target+1));
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		wlr_log(WLR_DEBUG, "Got valid workspace command for target: '%s'",
 | 
							wlr_log(WLR_DEBUG, "Got valid workspace command for target: '%s'",
 | 
				
			||||||
				_target);
 | 
									_target);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue