GNOME Bugzilla – Bug 697263
Impossible to set window transparency on 3.8
Last modified: 2013-04-04 13:35:01 UTC
The following example give me a transparent window on GTK+ 3.6, not on 3.8 : ===================================== const Gtk = imports.gi.Gtk; Gtk.init(null, null); let mwindow = new Gtk.Window({ opacity: 0.5 }); mwindow.resize(500, 500); mwindow.show(); Gtk.main(); ======================================
Created attachment 240601 [details] Screenshot of the issue On the left GTK+ 3.8, on the right GTK+ 3.6.
Created attachment 240604 [details] [review] Fix gtk_window_set_opacity() We *do* want to call gdk_window_set_opacity() on toplevels, because this particular case does work.
Attachment 240604 [details] pushed as a2c65d4 - Fix gtk_window_set_opacity()