wayland: Add API to change a tool focus surface
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3420>
This commit is contained in:
@ -950,3 +950,10 @@ meta_wayland_tablet_tool_get_current_surface (MetaWaylandTabletTool *tool)
|
||||
{
|
||||
return tool->current;
|
||||
}
|
||||
|
||||
void
|
||||
meta_wayland_tablet_tool_focus_surface (MetaWaylandTabletTool *tool,
|
||||
MetaWaylandSurface *surface)
|
||||
{
|
||||
meta_wayland_tablet_tool_set_focus (tool, surface, NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user