X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fvicon.C;fp=cinelerra-5.1%2Fguicast%2Fvicon.C;h=ecd555129aeae8f9a07a66d7c89158d14619333c;hp=119b63447902e3a5fe2fa06df04ab39ce831c06d;hb=b2dfd8318ea57bbe38e2c61ffd8cda30fb7465c3;hpb=2292a9b260b7c5f0ee85280823ef760910ace931 diff --git a/cinelerra-5.1/guicast/vicon.C b/cinelerra-5.1/guicast/vicon.C index 119b6344..ecd55512 100644 --- a/cinelerra-5.1/guicast/vicon.C +++ b/cinelerra-5.1/guicast/vicon.C @@ -174,13 +174,15 @@ int ViewPopup::keypress_event() int ViewPopup::button_press_event() { - return !vt->vicon ? 0 : - vt->vicon->popup_button_press(get_cursor_x(), get_cursor_y()); + return vt->popup_button_press(get_cursor_x(), get_cursor_y()); +} +int ViewPopup::button_release_event() +{ + return vt->popup_button_release(get_cursor_x(), get_cursor_y()); } int ViewPopup::cursor_motion_event() { - return !vt->vicon ? 0 : - vt->vicon->popup_cursor_motion(get_cursor_x(), get_cursor_y()); + return vt->popup_cursor_motion(get_cursor_x(), get_cursor_y()); }