Double Buffering Multiple Windows

I’m trying to Double Buffer 2 windows at the same time and when I do this the second window appears as a flicker on the first window when I give input to the first window. The first window does not appear on the second though. Any suggestions.