Rendering on X overflows DrawingArea in GTK 4
Hi
I migrate a snippet of code in Gtk3 to Gtk4.
In Gtk3 the rendering is done on the DrawingArea, as requested.
For build :
gcc -o gtk3_player gtk3_player.c $(pkg-config --libs --cflags gtk+-3.0 libvlc x11)
In Gtk4 the rendering is done directly on X, in the window space, it overflows the DrawingArea and makes the background appear in transparency.
For build :
gcc -o gtk4_player gtk4_player.c $(pkg-config --libs --cflags gtk4 libvlc)
Edited by Andre Klapper