Closed hoppfrosch closed 9 years ago
This has to be implemented on base of the list of all currently opened windows:
newList := actualList - workingList
Withr Implementoation of method <difference()> within issue #27 this could be easily accomplished.
x := new WindLy() x.Snapshot() ; All current windows y:= new WindLy() y.byMonitorId(2) ; Example: take all windows from screen 2 ; Create difference of WindLy instance x and WindLy instance y x.difference(y) ; ; x contains the difference now (i.e inverse from List 2 - i.e. all windows on screen 1)
Implement method inverse() to invert the current list: create a new list that contains all elements which have not been part of the previous list