Re: [EWMH] _NET_WM_WINDOW_TYPE_AUXILIARY



On Wed, 2007-10-03 at 12:24 -0400, Havoc Pennington wrote:
> Hi,
> 
> You're using an override-redirect window here - do compositing
> managers already read hints off those? A regular WM will not touch an
> override-redirect window, of course, including not reading hints and
> not doing any fading effect.
> 
> Havoc

Yes, override-redirect windows are also faded in and out - otherwise,
fade-in effects for e.g. menus and tooltips (also override-redirect
windows according to the GTK+ API reference) wouldn't be possible. You
can try the following pygtk code snippet with compiz, the window will
still fade in:

 import gtk
	
 win = gtk.Window(gtk.WINDOW_POPUP)
 win.set_default_size(100, 100)
 win.move(60,100)

 win.realize()
 win.window.set_override_redirect(True)

 win.show_all()
 gtk.main()

Cheers,
Denis




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]