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

[Pkg-xfce-devel] Bug#507716: Bug#507716: Bug#507716: xfwm4: broken "focus follows mouse" behavior on raise



Yves-Alexis Perez wrote:
> On jeu, 2008-12-04 at 14:32 -0600, Jason Kraftcheck wrote:
>> Yves-Alexis Perez wrote:
>>> On jeu, 2008-12-04 at 11:07 -0600, Jason Kraftcheck wrote:
>>>> I tried enabling "Active focus stealing prevention".
>>> Please give the complete settings. How do you want us to help you
>>> debugging an issue if you give one information by mail?
>>>
>> There are only two check boxes on that tab you mentioned.  You didn't ask
>> what any settings were, only whether or not I had tried any settings on that
>> tab to address the problem, and later by "how?" I assumed you were inquiring
>> as to which settings I tried changing.  I tried changing precisely one
>> setting, "Active focus stealing prevention".  The problem was not resolved,
>> regardless of that setting.
>>
>> If you had wanted to know the what the settings were for other options on
>> that tab or elsewhere, you should have asked in the first place.
> 
> Ow, please, don't be like that. *You* have a problem, so *you* should
> provide all informations about your problem so we can do something about
> that.

The patch I sent with my original PR fixes the problem.

> And, basically, giving one single piece of information won't help
> anybody. And I asked about ?focus? stuff (tada, that's because you have
> a _focus_ problem) so you could have guessed in the first place.
> 

Perhaps I could have guessed.  But if you wanted to know focus-related
settings, you could have just asked for that rather than asking which
settings I tried changing and then complaining that I didn't guess what you
intended to ask.


> 
> In your case, you would like something a bit that ?Don't automatically
> focus windows when they are raised?, I think.
> 

Such an option shouldn't be necessary.  "focus-follows-pointer" means that
whatever window contains the mouse pointer has focus.  Moving the focus to
some other window because of an CWStackMode event is wrong.

> I'm not a wm expert, but I don't think there is such a thing as ?raised
> on top? event for a window. I assume that what you send (with
> emacsclient or nedit-nc) is a ?focus? event, so in this case it would be
> ok to focus it.
> 

A CWStackMode configureWindow request asks the WM to change the position of
the client window in the stacking order (ordered list of which window is in
front of which if they should overlap).  It is conceptually distinct from,
for example, a call to XSetInputFocus.  There often is no distinction
between the two when a Window manager is operating in "click-to-focus" mode,
as clicking on a window both raises it above all others and gives it the
keyboard focus.

Other window managers that I've used behave the way I am saying that xfwm4
should, including: blackbox and derivatives, the WM was under CDE on
Solaris, and x.org with no window manager running.

> Please open a bug on Xfce bugzilla (http://bugs.xfce.org) on xfwm4
> component (4.4.2 version) asking about that and providing all
> informations necessary. (and forward the bug number to this bug report)
> 

http://bugzilla.xfce.org/show_bug.cgi?id=4679








Reply to: