Comment 2 for bug 732091

Revision history for this message
Andrea Cimitan (cimi) wrote :

After a long discussion with jason, it seems his bug is a way harder than it seems, and maybe long to fix.
We need to connect to the parent window of the toplevel window, which is a xwindow, create a gdk_x11_foreign window and hook up for its configure_event.
This is the hardest part, because adding a filter_func for each scrollbar (so, twice the filter func for each scrollbar), is a terrible idea. we should try to figure out a way to connect to a global filter func that tells each scrollbar to update the window coordinates when the xconfigureevent of the parent window of its toplevel window is received. (please kill me :-\)