[comp.windows.x] Bug in Athena Text Widget

czim@spinoza.cns.caltech.edu (Chris Ziomkowski) (03/03/91)

I posted this a little over a week ago and have received no responses so
here goes again.

I'm having quite a bit of trouble with a program that opens a window on
two different displays. I need to use a text widget with scroll bars on
each of them. It works fine on the first display that's opened, but crashes
on the second display because of non-existent cursors. I believe this has
something to do with static variables that are initialized by the first
text widget I open. The next text widget (opened on a different display) then
tries to use these same values and crashes because the cursors aren't the same 
on that display.

Anyone out there ever seen this problem before. It looks like xtalk does a
quick hack to get around it, but they only need to change the cursor in
the text window and don't have to worry about scrollbar cursors.

Anyone at the Consortium have any comments?  I don't know how to change the
cursors the text widget uses for scrollbars. Could someone give me a hint on
how to do that?

Thanx for the help.

	Chris Ziomkowski

czim@spinoza.cns.caltech.edu