Code review comment for lp:~larsu/overlay-scrollbar/fix-for-3.10

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

> > Setting transient window is required at least for gtk2.
> > If you leave a window unfocused and click on its scrollbar, the window won't
> > get focused without that.
>
> I've added it back in. The focus issue remains for gtk3 apps, though.
>
>
> > The changes to use parent window kinda worries me for old Gtk too, but so
> far
> > I didn't find bugs.
> >
> > I saw you moved some bits in the realize function, but I think you still
> want
> > to keep the old order... because you need to have events activated before
> > adding the filter or it won't work.
>
> Sorry, they were from a previous refactor. I've reverted that.
>
>
> > Is setting the user data of the gdkwindow required in gtk2?
>
> It should be, but it wasn't before. This is unrelated to this patch and since
> it works without, let's not mingle the two.

Thanks, let's approve one change at a time, this code is complex and might be easy to add regressions without realising :)

review: Approve

« Back to merge proposal