Re: [Testcase] Re: 32bit scrolling problems in Gtk+ 1.3.1



On 7 Sep 2000, Owen Taylor wrote:

> Forgive my skeptism, but I don't believe that this is possible.
> 
> If you are using a recent version of XFree86 for your X server,
> gdk_window_gravity_works(), is simply not going to fail.
> 
> You are saying that if you apply the appended patch, set the initial
> window size in your test case program to 1, run your program, and
> move the slider to the middle, it prints:
> 
>  Gravity works: NO
> 
> ?

That's correct.  But I think I see the location of the problem now,
assuming I am understanding static gravity: the gdk_window_gravity_works
function is calling gdk_window_move (). That wouldn't be a problem except
for the fact that gdk_window_move () performs it's work by calling
gdk_window_move_resize () and that function was making a call to
XMoveResizeWindow ().  So calling gdk_window_move () is causing behavior
contrary to what one would expect from a XMoveWindow call.

- David





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