xboard-devel
[Top][All Lists]
Advanced

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

Re: [XBoard-devel] gtk version


From: John Cheetham
Subject: Re: [XBoard-devel] gtk version
Date: Tue, 21 Jun 2011 08:07:11 +0100 (BST)

I noticed that in the gamelist if you click on a game to select it it doesn't 
select it immediately but waits until you move the mouse over the board. It 
seems to be stuck in the main loop on the poll command. I think it only exits 
this loop when it gets an Xt event which is why you have to move your mouse 
over the board to make it update the gtk gamelist window.

Anyway I changed the poll loop to check for gtk_events_pending as well like 
this:

while (!(mask = XtAppPending(appContext)) && !gtk_events_pending())
        poll(NULL,0,100);

With this version you can click on a game and it is selected straight away.

I noticed as well that the gamelist doesn't work on Fedora 14 open build server 
version. It gives the error:

Error: can not find ui-file for gamelist.glade

I think the problem may be that the file is in 
/usr/share/games/xboardgtk/ui/gamelist.glade in the rpm and maybe the helper 
expects it in /usr/local/share?

Also I have done the changes to change the Error PopUps to GTK.

Hope that helps.

JC 





reply via email to

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