vlc does not receive mouse events
Hi all,
I created an exit here and one at vlc : https://code.videolan.org/videolan/vlc/-/issues/27345
Here is my example code, based on the example gtk_player.c
gtk_player.c
To build the binary :
gcc -o gtk_player gtk_player.c $(pkg-config --libs --cflags gtk+-3.0 libvlc x11)
The line 172 of the file allows to activate the events of movement of the mouse.
When the mouse moves I make the menu appear. After 5 seconds the menu disappears.
172 gtk_widget_add_events(GTK_WIDGET(player_widget), GDK_POINTER_MOTION_MASK);
If I play a DVD, i can't access the event on the video window, I can't access the DVD menu.
To launch the DVD: ./gtk_player /media/user/MY-DVD
or 1 file : ./gtk_player video.mp4
Do you have an idea?