Lawsuit meant removing a type of window (8)
I believe the answer is:
casement
'type of window' is the definition.
(I've seen this in another clue)
'lawsuit meant removing a' is the wordplay.
'lawsuit' becomes 'case' (a legal case).
'removing' is a deletion indicator.
'meant' with 'a' taken out is 'ment'.
'case'+'ment'='CASEMENT'
(Other definitions for casement that I've seen before include "window frame" , "Vertically-hinged window" , "Vertically hinged window" , "Window opening on a vertical hinge" , "Type of window" .)