set overlay passthrough to true (fixes #503)

This commit is contained in:
elkowar 2022-08-15 10:29:59 +02:00
parent 4004362633
commit 0a5d6f4ac9
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F

View file

@ -550,6 +550,7 @@ fn build_gtk_overlay(bargs: &mut BuilderArgs) -> Result<gtk::Overlay> {
for child in children { for child in children {
let child = child?; let child = child?;
gtk_widget.add_overlay(&child); gtk_widget.add_overlay(&child);
gtk_widget.set_overlay_pass_through(&child, true);
child.show(); child.show();
} }
Ok(gtk_widget) Ok(gtk_widget)