discuss-gnustep
[Top][All Lists]
Advanced

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

Re: AppIcon patch revisited


From: Richard Frith-Macdonald
Subject: Re: AppIcon patch revisited
Date: Fri, 9 Feb 2001 09:10:20 +0000

On Friday, February 9, 2001, at 08:27 AM, Sungjin Chun wrote:

> ----- Original Message -----  
> From: "Richard Frith-Macdonald" <richard@brainstorm.co.uk> 
>  
> > A solution that doesn't require *any* workarounds for developers, is if 
> > Window Maker could handle the movements of icon windows exactly like it 
> > does with any other window.  GNUstep apps could then treat icon windows 
> > just like any other window and no workarounds would be required. 
>  
> I totally agree on this. 

Left unsaid ...
Of course, to handle dropping of an icon on the dock, Window maker would still
need to notice that the icon had been moved over the dock, and react as if it
had moved it over the dock itsself.

I don't think there is a foolproof way to recognise the end of a drag - but
having the GNUstep backend forward the mouse-up event to Window Maker *as well
as* sending the event to the front-end should do a reasonable job ... after all
it's pretty unlikely that an app would support dragging of it's appicon and not
end the drag on the mouse-up.

An alternative would be for Window Maker to monitor the state of the mouse
directly, and consider that the presence of an iconwindow stationary over the 
dock
for (say) 0.2 seconds with the mouse button released indicates that the icon 
should
be docked.


reply via email to

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