projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f347d3
)
LinuxVST window re-sizing: forward event to child window.
author
Robin Gareus
<robin@gareus.org>
Tue, 29 Dec 2015 09:08:42 +0000
(10:08 +0100)
committer
Robin Gareus
<robin@gareus.org>
Tue, 29 Dec 2015 09:08:42 +0000
(10:08 +0100)
gtk2_ardour/lxvst_plugin_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/lxvst_plugin_ui.cc
b/gtk2_ardour/lxvst_plugin_ui.cc
index ad8bc0175affec002b1a0ab5452846a3284cd591..f5265cffa8d0f45a212b44416f99145de209e1e1 100644
(file)
--- a/
gtk2_ardour/lxvst_plugin_ui.cc
+++ b/
gtk2_ardour/lxvst_plugin_ui.cc
@@
-78,9
+78,12
@@
LXVSTPluginUI::resize_callback ()
void* gtk_parent_window = _vst->state()->extra_data;
if (gtk_parent_window) {
+ _socket.set_size_request(
+ new_width + _vst->state()->hoffset,
+ new_height + _vst->state()->voffset);
+
((Gtk::Window*) gtk_parent_window)->resize (new_width, new_height + LXVST_H_FIDDLE);
}
-
_vst->state()->want_resize = 0;
}