Owen says this is a metacity bug. The following program also hops windows.
#!/bin/env python
import gtk import gobject w = gtk.Window() w.set_title("Foo") w.show()
def on_timeout(): w.present() return False
gobject.timeout_add(5000, on_timeout) gtk.main()
Owen says this is a metacity bug. The following program also hops windows.
#!/bin/env python
import gtk
import gobject
w = gtk.Window()
w.set_title("Foo")
w.show()
def on_timeout():
w.present()
return False
gobject. timeout_ add(5000, on_timeout)
gtk.main()