On Mon, 20 Mar 2006 08:07:03 -0400 Tim Burrell <[EMAIL PROTECTED]> babbled:

> Hi Carsten,
> 
> >>It doesn't seem to me as if the focus policy should have any effect on
> >>mouse warping, but then again I'm not sure what was intended, so that's
> >>why I've not sent a patch.
> > 
> > yes it does. pointer and sloppy change focus when the mouse enters or
> > leaves a window. if the mouse is not OVER the window u want to focus at the
> > end of an alt-tab session - the focus will not end up there. it will end up
> > over whatever the mouse is over at the time the winlist pops down, and not
> > the window u wanted it on. that's why the mouse gets sent there.
> 
> Well I get the logic behind why it happens, although I see a potential
> problem with this.  First of all there are many other WMs out there that
> have a sloppy or lazy focusing mode yet none (that I'm aware of) always
> warp the mouse at the end of a keyboard window switch (including e16!).
>  This is probably going to cause some confusion for people.

and... you'll see with e16 there are bugs. if the mouse is over the list of 
windows, and there is a window under that list, under the mouse, when u end the 
alt-tab session - the focus will go to that window, not the one you wanted. the 
problem is that the mouse (and keyboard) are grabbed - to make sure that while 
u are  tabbing no mouse events will cause anything to happen. when the winlist 
goes down - the wm gets a mouse in event on the window its over - it cannot 
tell this event apart from any other mouse in that is a result of an ungrab. 
because x is asynchronous - the event may come in 0.0001 seconds after the 
ungrab or 10 seconds later - you don't know. making e ignore such events for a 
short period of time is merely a hack and will have "problems".

so guess what. e is different. funny that. people will get confused about a lot 
of things - if people get confused and don't like being confused with something 
new they can go back to using their old wm/de. if we were aiming for no 
confusion we'd go mimick a windows desktop.

> The other thing is what about people who want sloppy focusing, but don't
> want mouse warping?  (Like me).  It would seem in the spirit of
> enlightenment (feature packed) to provide such an ability, especially
> for those of us who are long time e16 users and are quite fond of the
> way it works.

"i want a car with square wheels". as per above - there are bugs with e16's 
code - i give a shit about such bugs and if i have to change the wm's behavior 
- i will. a car with square wheels may be able to drive - given enough torque - 
but it'll be a bumpy ride.

> Maybe a simple option to explicitly disable mouse warping in all cases
> could be provided?  Or a couple of extra modes (sloppy + no warp, etc).
> I'm in the camp that doesn't touch the mouse very much, and when I put
> the cursor somewhere I want it to stay there.  But, when I am using the
> mouse I prefer sloppy focusing.

the moment it is disabled u WILL see it NOT WORK. see above. it's in there for 
a very good reason.

> Just my two cents.
> 
> Tim.
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to