vlc_linux/vlc-3.0.16/modules/gui/qt/components/controller.cpp
/**
 * On mouse press
 * store position of cursor
 */
On mouse press
store position of cursor
On mouse press store position of cursor
void FullscreenControllerWidget::mousePressEvent( QMouseEvent *event )
{
    if( isWideFSC ) return;
    i_mouse_last_x = event->globalX();
    i_mouse_last_y = event->globalY();
    event->accept();
}
void FullscreenControllerWidget :: mousePressEvent ( QMouseEvent * event ) { if ( isWideFSC ) return ; i_mouse_last_x = event -> globalX ( ) ; i_mouse_last_y = event -> globalY ( ) ; event -> accept ( ) ; }
On mouse press
 store position of cursor
On mouse press store position of cursor