[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSAppKitDefined events not sent by XGServerWindow
From: |
Germán Arias |
Subject: |
Re: NSAppKitDefined events not sent by XGServerWindow |
Date: |
Tue, 25 Jun 2013 22:30:29 -0600 |
User-agent: |
GNUMail (Version 1.2.0) |
On 2013-06-25 19:30:18 -0600 Germán Arias <address@hidden> 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. Events sent from other objects, don't have sense.
> And sets wrong frames. I think this would be more consistent.
>
> Germán.
>
Only the subtypes GSAppKitWindowMoved and GSAppKitWindowResized need
be discarded. Attached patch solves the problem. Objections to send this?
Germán.
<app.patch>
app.patch
Description: Text Data