Deprecate MoveToCursor

Use <action name="AutoPlace" policy="cursor"/> instead.

Related-to: #1785
Suggested-by: @tokyo4j
This commit is contained in:
Johan Malm 2024-05-19 16:50:53 +01:00 committed by Consolatis
parent 941290fb4b
commit bab1be834d
2 changed files with 6 additions and 0 deletions

View file

@ -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);
}