update inactive window opacity