mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
Cycle Near Region, rework to fit better
This commit is contained in:
parent
1cd9940307
commit
206a72edf8
4 changed files with 70 additions and 0 deletions
|
|
@ -454,6 +454,14 @@ enum lab_cycle_dir {
|
|||
struct view *desktop_cycle_view(struct server *server, struct view *start_view,
|
||||
enum lab_cycle_dir dir);
|
||||
|
||||
/**
|
||||
* desktop_cycle_view_near_region - return view to 'cycle' to within region
|
||||
* @active_view: reference point for finding next view to cycle to
|
||||
* Note: If !active_view, the top-most focusable view is returned
|
||||
*/
|
||||
struct view *desktop_cycle_view_near_region(struct server *server,
|
||||
struct view *active_view, struct region *region);
|
||||
|
||||
/**
|
||||
* desktop_focus_topmost_view() - focus the topmost view on the current
|
||||
* workspace, skipping views that claim not to want focus (those can
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue