GTK: clip any editors instead of resizing GraphicsWindow.

Such resizing may well get us past OpenGL's maximum texture size
and break rendering.
This commit is contained in:
whitequark 2016-05-20 23:39:06 +00:00
parent daee939714
commit d13e29cdaf

View File

@ -368,6 +368,8 @@ private:
class EditorOverlay : public Gtk::Fixed {
public:
EditorOverlay(Gtk::Widget &underlay) : _underlay(underlay) {
set_size_request(0, 0);
add(_underlay);
_entry.set_no_show_all(true);