How to change windowswindow only for game?

Hi, I made some changes to windowswindow.cpp but it affects the editor too and I need only to change game window. Thankyou