prevent popup deactivation while button_down
[goodguy/history.git] / cinelerra-5.0 / plugins / theme_suv / suv.C
index 366a332762a7a2c0a286d00a946048180fa0db0a..0dfd091468313949c07f13d8592bef72dc0824b1 100644 (file)
@@ -885,10 +885,8 @@ void SUV::draw_rmonitor_bg(RecordMonitorGUI *gui)
 void SUV::draw_mwindow_bg(MWindowGUI *gui)
 {
 // Button bar
-       gui->draw_3segmenth(mbuttons_x,
-               mbuttons_y - 1,
-               mwindow->session->mwindow_w,
-               get_image("mbutton_bg"));
+       gui->draw_3segmenth(mbuttons_x, mbuttons_y - 1,
+               gui->menu_w(), get_image("mbutton_bg"));
 
        int pdw = get_image("panel_divider")->get_w();
        int x = mbuttons_x;