This is looking very good. I'll attach some review comments. Most things should be easy to touch up. The one exception is dealing with unref'ed GdkWindows during draw_window_of_widget(). If that ends up getting complicated, then just leave a TODO. This is a great body of work and I'm keen to get it into
mozilla-central.
Comment on attachment 557153
nsWindow.cpp - v3
This is looking very good. I'll attach some review comments. Most things should be easy to touch up. The one exception is dealing with unref'ed GdkWindows during draw_window_ of_widget( ). If that ends up getting complicated, then just leave a TODO. This is a great body of work and I'm keen to get it into
mozilla-central.