[Top][All Lists]

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

Re: [Bug-gnubg] Much reduced board decoration with 3D board

From: Russ Allbery
Subject: Re: [Bug-gnubg] Much reduced board decoration with 3D board
Date: Wed, 09 Dec 2009 01:02:40 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Jonathan Kinsey <address@hidden> writes:
> Russ Allbery wrote:

>> I'm increasingly suspicious that drawPieces not being called is the
>> explanation, mostly because I can't figure out what does call it while
>> a piece is being dragged.  Where should I be looking for that to
>> happen?  I see the restricted draws being called for the quick-draw
>> case, but I don't see any refreshing for the simpler non-quick-draw
>> case.  But maybe I'm missing something obvious.

> MouseMove3d() is called from board_drag() to handle drawing dragged
> pieces.

Thank you.  That was the key that I needed.  The problem is that
board_motion_notify is never being called in my build for a 3D board.  It
is being called for the 2D board.

This should be set up properly by CreateGLWidget in board3d/widget3d.c.
Given that this is working for someone else in Debian stable, I suspect
some change in either the GTK+ libraries or (more likely given that I only
see a problem with the 3D board) in the GtkGlExt libraries, since that's
the distinction between the 3D board and the 2D board in terms of GTK+
event handling.  Maybe somehow the OpenGL layer is getting in the way of
proper handling of motion events?

I'm using GtkGLExt 1.2.0 and GTK+ 2.18.4.  What version are other people
who are not seeing this problem using?

Any ideas as to what could be going wrong here?

Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]