diff options
author | David Robillard <d@drobilla.net> | 2013-03-23 16:12:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-03-23 16:12:09 +0000 |
commit | 47c6a8b49b297e4dba52fee225ae33ac6183cebb (patch) | |
tree | 053ee50e13d5d79370244288c7c71b34700d28ba /src | |
parent | 003e60c4d9f34124acd482ce73b2c0af1912d13a (diff) | |
download | suil-47c6a8b49b297e4dba52fee225ae33ac6183cebb.tar.gz suil-47c6a8b49b297e4dba52fee225ae33ac6183cebb.tar.bz2 suil-47c6a8b49b297e4dba52fee225ae33ac6183cebb.zip |
Call idle at 30Hz in Gtk, not full rate (fix #898).
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5095 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/x11_in_gtk2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c index 87cfa04..72bbee5 100644 --- a/src/x11_in_gtk2.c +++ b/src/x11_in_gtk2.c @@ -197,7 +197,7 @@ wrapper_wrap(SuilWrapper* wrapper, instance, LV2_UI__idleInterface); if (idle_iface) { wrap->idle_iface = idle_iface; - g_idle_add(suil_x11_wrapper_idle, wrap); + g_timeout_add(1000/30, suil_x11_wrapper_idle, wrap); // 30 Hz } #endif |