« Return to Thread: NSWindow receives NSAppKitDefined/GSAppKitWindowMoved strange messages with x = -1

Re: NSWindow receives NSAppKitDefined/GSAppKitWindowMoved strange messages with x = -1

by Philippe Roussel :: Rate this Message:

| View in Thread

Hi Fred,

Le 27/04/2012 22:33, Fred Kiefer a écrit :

>
> Hi Philippe,
>
> you code may work around the problem, but I would like to first
> understand what is causing it. You could add a break point on your new
> code to see what is causing it. In addition you could add the switches
> "--GNU-Debug=NSEvent --GNU-Debug=Moving --GNU-Debug=Frame" to your
> command line to see more debug output. That way we may be able to
> understand how this nonsensical value get created.
>
> It could be that the line
> n = [self _XFrameToOSFrame: x for: cWin];
> converts the correct X values into wrong OS values. This would mean that
> we are using the wrong style offset values. Which window manager are you
> using? Is this properly supported by our  _checkStyle: code?
> Here the command line switch "--GNU-Debug=Offset" should give you more
> information.

My window manager is Unity on Ubuntu 11.10.

I will try to gather more informations and get back to you.

Thanks,
Philippe

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@...
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

 « Return to Thread: NSWindow receives NSAppKitDefined/GSAppKitWindowMoved strange messages with x = -1