summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/base_sink_c_impl.cc2
-rw-r--r--lib/glfw_sink_c_impl.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/base_sink_c_impl.cc b/lib/base_sink_c_impl.cc
index 5347cbb..dd64f85 100644
--- a/lib/base_sink_c_impl.cc
+++ b/lib/base_sink_c_impl.cc
@@ -62,7 +62,7 @@ const int base_sink_c_impl::k_db_per_div[] = {1, 2, 5, 10, 20};
base_sink_c_impl::base_sink_c_impl()
: d_db_ref(0), d_db_per_div_idx(3),
d_zoom_enabled(false), d_zoom_center(0.5), d_zoom_width(0.2),
- d_ratio(0.35f), d_frozen(false), d_active(false), d_visible(true),
+ d_ratio(0.35f), d_frozen(false), d_active(false), d_visible(false),
d_frequency(), d_fft_window(gr::fft::window::WIN_BLACKMAN_hARRIS)
{
/* Init FIFO */
diff --git a/lib/glfw_sink_c_impl.cc b/lib/glfw_sink_c_impl.cc
index f018e5f..955fe9f 100644
--- a/lib/glfw_sink_c_impl.cc
+++ b/lib/glfw_sink_c_impl.cc
@@ -51,6 +51,7 @@ glfw_sink_c_impl::glfw_cb_reshape(int w, int h)
glfwGetFramebufferSize(this->d_window, &w, &h);
this->cb_reshape(w, h);
+ this->cb_visibility(true);
}
void