add support for csd windows with header bars

https://bugzilla.gnome.org/show_bug.cgi?id=720913