The problem I'm facing with menus in window, is caused by events sent by
NSApp (NSAppKitDefined events). But since only XGServerWindow can
draw/move/resize a window, I think NSWindow should respond only to events
sent by XGServerWindow. Events sent from other objects, don't have sense.
And sets wro
On 2013-06-25 19:30:18 -0600 Germán Arias wrote:
> The problem I'm facing with menus in window, is caused by events sent by
> NSApp (NSAppKitDefined events). But since only XGServerWindow can
> draw/move/resize a window, I think NSWindow should respond only to events
> sent by XGServerWindow. Eve
Well, this change gives me problems with panels. But no idea why.
On 2013-06-25 22:30:29 -0600 Germán Arias wrote:
> On 2013-06-25 19:30:18 -0600 Germán Arias wrote:
>
> Only the subtypes GSAppKitWindowMoved and GSAppKitWindowResized need
> be discarded. Attached patch solves the problem. Obje
Now I see that NSApp receives the events when the user move a
window. But still, this sometimes send events that not occurs.
On 2013-06-25 23:01:03 -0600 Germán Arias wrote:
> Well, this change gives me problems with panels. But no idea why.
>
> On 2013-06-25 22:30:29 -0600 Germán Arias wrote:
Hi Germán Arias,
> The problem I'm facing with menus in window, is caused by events sent by
> NSApp (NSAppKitDefined events). But since only XGServerWindow can
> draw/move/resize a window, I think NSWindow should respond only to events
> sent by XGServerWindow. Events sent from other objects, don'
Hi Wolfgang
After more tests. I found that these events are sent by XGServerEvent
before the last call of -setFrame: on the window. But are executed after
this call. So this cause sets a wrong frame.
XGServerEvent don't send this events directly to the window. Instead,
add these to an NSMutableAr