I run Xubuntu 16.04 in VirtualBox on Windows and I mostly view it in seamless mode. It works well for most apps but when there is a Gedit window overlapping the desktop or windows running in Windows, a frame around Gedit is shown, probably because of the shadow.
The shadow of Xubuntu windows is correctly shown where one Xubuntu window overlaps another and ignored when overlapping Windows. However, this does not work for Gedit.
I went through Preferences in Gedit and have not found any option to change this. Is there any way to get rid of the distracting frame around Gedit windows?
You can get rid of window borders by appending
to
~/.config/gtk-3.0/gtk.css
file (create it if it doesn't exist)Note that while you can set the margin to 0 and get rid of the border completely, that would break ability to resize windows by dragging their edges.