The first window type is desired and is shown by the terminal window. The second window type, shown by the gedit window (but also appears with some other applications), has a weird border configuration.
Firstly, tiling does not fill out half the screen properly and hovers from the screen's edges. Secondly, the control buttons have a different style that where the close window control does not touch the screen corner when the window is maximized or tiled to the right.
From what I've read, this seems to be a problem with gtk+3.12?