sort-windows-by-middle-pos

Name

sort-windows-by-middle-pos -- Sort WINLIST (a list of windows) by their middle positioins.

Synopsis

(sort-windows-by-middle-pos winlist #&key (horiz #t) (ascending #t))

Description

Sort WINLIST (a list of windows) by their middle positioins. Sort on horizontal position (x coordinate) if HORIZ is #t, otherwise sort on vertical position (y coordiate) otherwise. Sort in ascending order if ASCENDING is #t, otherwise descending.

Implementation Notes

Module: (app scwm winops)

Defined in scheme/winops.scm at line 304 (CVS log)