mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Deprecate MoveToCursor
Use <action name="AutoPlace" policy="cursor"/> instead. Related-to: #1785 Suggested-by: @tokyo4j
This commit is contained in:
		
							parent
							
								
									941290fb4b
								
							
						
					
					
						commit
						bab1be834d
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -904,6 +904,9 @@ actions_run(struct view *activator, struct server *server,
 | 
			
		|||
			}
 | 
			
		||||
			break;
 | 
			
		||||
		case ACTION_TYPE_MOVETO_CURSOR:
 | 
			
		||||
			wlr_log(WLR_ERROR,
 | 
			
		||||
				"Action MoveToCursor is deprecated. To ensure your config works in future labwc "
 | 
			
		||||
				"releases, please use <action name=\"AutoPlace\" policy=\"cursor\">");
 | 
			
		||||
			if (view) {
 | 
			
		||||
				view_move_to_cursor(view);
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue