gnustep-dev
[Top][All Lists]
Advanced

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

Re: NSAppKitDefined events not sent by XGServerWindow


From: Wolfgang Lux
Subject: Re: NSAppKitDefined events not sent by XGServerWindow
Date: Wed, 26 Jun 2013 10:23:28 +0200

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't have sense.
> And sets wrong frames. I think this would be more consistent.

I think you are trying to cure the symptoms instead of the illness. If events 
are sent to NSWindow that do not make sense you should rather look for where 
this events are sent and prevent them from being sent instead of ignoring any 
events.

Just my 2¢
Wolfgang




reply via email to

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