add olaf de.po, opengl bg clr, asset drag select tweak
[goodguy/history.git] / cinelerra-5.1 / cinelerra / vwindowgui.C
index 92505781fac1330d60857aaf3f4afb50d77efc45..d13197b4869f7f679b26f83acfc660de0bd2c67f 100644 (file)
@@ -471,10 +471,10 @@ int VWindowGUI::drag_stop()
                unlock_window();
 
                Indexable *indexable =
-                       mwindow->session->drag_clips->size() > 0 ?
-                               (Indexable *)mwindow->session->drag_clips->get(0) :
                        mwindow->session->drag_assets->size() > 0 ?
-                               (Indexable *)mwindow->session->drag_assets->get(0) : 0;
+                               (Indexable *)mwindow->session->drag_assets->get(0) :
+                       mwindow->session->drag_clips->size() > 0 ?
+                               (Indexable *)mwindow->session->drag_clips->get(0) : 0;
                if( indexable )
                        vwindow->change_source(indexable);
 
@@ -857,6 +857,12 @@ void VWindowCanvas::draw_refresh(int flush)
        }
 }
 
+int VWindowCanvas::need_overlays()
+{
+       if( gui->highlighted ) return 1;
+       return 0;
+}
+
 void VWindowCanvas::draw_overlays()
 {
        if( gui->highlighted )