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

List:       kde-core-devel
Subject:    Re: Fwd: kwin bugs [and patches !]
From:       Cristian Tibirna <ctibirna () total ! net>
Date:       1999-12-22 4:46:57
[Download RAW message or body]

On Tue, 21 Dec 1999 slamb@oh.yeah.org wrote:

> On Tue, 21 Dec 1999, Cristian Tibirna wrote:
> 
> [snip]
> 
> > OK. I'll port these days the config dialog for this category of options.
> > Will check this (and look at your patch in the process).
> 
> Hmm. Looking at this again, I was wrong. The code to do that is
> automatically generated into options.moc.cpp. The reason it didn't work

No. Not at all. You did well, with the reserve that Matthias intentionally
left out focus configurability because he still isn't decided what will
finally be the complete mechanism.

I added now a rudimentary focus discrimination configurability. But I put
it under "Windows" group and not under "WM" as you did ("WM" is a general
kde group that goes into the kdeglobals config file and is meant
especially for colors and such as applied to the wm, so that any
kdecompliant wm can use them).

> for me was just that beforehand I was using the config applet for kwm.
> When I added my code, I manually entered the option in
> ~/.kde/share/config/kdeglobals section [WM]---exactly where the
> autogenerated code checks. I removed my code to check this option and it
> still worked. Weird feeling, that. ;)

Problem is that the autogenerated code still is from your previous
compilation :-) You should do a clean rebuild, and then there isn't any
more appearent magic :-)

> Hmm. This leaves me more confused. What then is the difference between
> FocusFollowsMouse and FocusUnderMouse? How does a window (from options.h)
> "[happen] to be under the mouse pointer" without the user "moving the
> mouse pointer actively onto [the] window?"

This is exactly why Matthias left this in suspension. Traditional focus on
mouse used to pass the focus to the widget under the mouse. Logically
correct focus follows mouse should only change the focus "on request"
i.e., when the mouse moves. And this is the difference between ffm and
fum.

I applied a part of your patch (manually). Thanks a lot for your work.

Cristian

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

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