[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: mouse following buttons
From:       aleXXX <alexander.neundorf () gmx ! net>
Date:       2002-06-02 20:33:16
[Download RAW message or body]

On Sunday 02 June 2002 15:04, JES wrote:
> On Saturday 01 June 2002 14:37, aleXXX wrote:
> > On Friday 31 May 2002 03:07, Eric Christopherson wrote:
> > > On Thu, May 30, 2002 at 06:48:03PM +0200, JES wrote:
> > > > Hi,
> > > > How difficult would it be to develop to let the mouse move to the
> > > > button with the focus on windows/dialogs that get active ?
> > > >
> > > > Regards,
> > > > Edwin.
> > >
> > > Great, someone else thinks that's a good feature :)
> >
> > I don't think it would be hard.
> > Somewhere in kwin, if a window gets focus, something like this:
> >
> > QCursor::setPos(focusWin.x()+(focusWin.width()/2),
> > focusWin.y()+(focusWin.height()/2));
>
> Don't you have to know where the position of the default button is on the
> window/dialog ?

I think the center of the focus window would be enough.

> > I'd like this feature too, but I think there were already discussions
> > about this and it was considered bad :-(
>
> Would you know where I can find this discussion ?

Sorry, no.
I can only remember that some time ago somebody suggested this feature and he 
was told that it is considered bad.

Bye
Alex
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic