X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftrackcanvas.C;h=5d925e6e1a3650180ba13526f339be1033192108;hb=2451d3174f3b64d3ce4e311b125813cf2881eca4;hp=0e3ebc03068b327d0c92080e9f1d3e27ccbf6a1e;hpb=5e3715ec449272335bab3419bf21ed4cd6d4bcbf;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/trackcanvas.C b/cinelerra-5.1/cinelerra/trackcanvas.C index 0e3ebc03..5d925e6e 100644 --- a/cinelerra-5.1/cinelerra/trackcanvas.C +++ b/cinelerra-5.1/cinelerra/trackcanvas.C @@ -4508,7 +4508,7 @@ int TrackCanvas::do_edits(int cursor_x, int cursor_y, int button_press, int drag mwindow->edl->session->sample_rate; int cx, cy; - get_abs_cursor_xy(cx, cy); + get_abs_cursor(cx, cy); cx -= mwindow->theme->get_image("clip_icon")->get_w() / 2, cy -= mwindow->theme->get_image("clip_icon")->get_h() / 2; gui->drag_popup = new BC_DragWindow(gui, @@ -4622,7 +4622,7 @@ int TrackCanvas::do_plugins(int cursor_x, int cursor_y, int drag_start, } } int cx, cy; - get_abs_cursor_xy(cx, cy); + get_abs_cursor(cx, cy); cx -= frame->get_w() / 2; cy -= frame->get_h() / 2; gui->drag_popup = new BC_DragWindow(gui, frame, cx, cy); @@ -4632,7 +4632,7 @@ int TrackCanvas::do_plugins(int cursor_x, int cursor_y, int drag_start, case PLUGIN_SHAREDMODULE: { VFrame *frame = mwindow->theme->get_image("clip_icon"); int cx, cy; - get_abs_cursor_xy(cx, cy); + get_abs_cursor(cx, cy); cx -= frame->get_w() / 2; cy -= frame->get_h() / 2; gui->drag_popup = new BC_DragWindow(gui, frame, cx, cy);