Set environment variable GTK_CSD=0 to turn off the default client side decoration for gtk+ 3 programs.
(This will not always work if a gtk+3 program explicitly sets a title bar and turns on CSD.)