Hi all,

I'm working on porting a .NET app to Mono, and am running into problems in a
portion of the program that is supposed to pop open a new window.  I have a
toolbar with buttons, and clicking this one particular button is supposed to
open a child window.  Doing so results in the following error:
 
 X11 Error encountered:
    Error: BadCursor (invalid Cursor parameter)
    Request:    2 (0)
    Resource ID: 0x7043D660
    Serial:     5286
    Hwnd:         < null >
    Control:      < null >   at System.Environment.get_StackTrace() in
/usr/src/packages/BUILD/mono-2.6.4/mcs/class/corlib/SystemEnvironment.cs:
line 202
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent
ByRef error_event) 
(((huge stacktrace snipped)))

Trying to insert a breakpoint in my event handler does no good, doing that
locks up XWindows  and I have to switch to another tty to kill the offending
process.  I am completely lost, can anyone help?  

--
View this message in context: 
http://mono.1490590.n4.nabble.com/X11-error-Bad-Cursor-when-creating-new-Mono-window-tp3382348p3382348.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to