mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	commands: allow setting floating on scratchpad containers
This commit is contained in:
		
							parent
							
								
									34dea3d9d2
								
							
						
					
					
						commit
						ec0013b9f5
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
					@ -40,11 +40,6 @@ struct cmd_results *cmd_floating(int argc, char **argv) {
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (container->scratchpad && !container->workspace) {
 | 
					 | 
				
			||||||
		return cmd_results_new(CMD_FAILURE,
 | 
					 | 
				
			||||||
				"Cannot set floating status on a hidden scratchpad container");
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	bool wants_floating =
 | 
						bool wants_floating =
 | 
				
			||||||
		parse_boolean(argv[0], container_is_floating(container));
 | 
							parse_boolean(argv[0], container_is_floating(container));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue