[Top][All Lists]

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

Re: raise-frame doesn't work in Fedora Core 4

From: Chong Yidong
Subject: Re: raise-frame doesn't work in Fedora Core 4
Date: Wed, 01 Nov 2006 18:15:51 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>   Rationale: XSetInputFocus is not sufficient, since the window may be
>>   hidden on another virtual desktop ( in that case XSetInputFocus
>>   fails with a BadWindow error )
> I don't understand: AFAICT the OP's problem is that `raise-frame' does not
> actually raise the frame.  But `raise-frame' calls XRaiseWindow, which seems
> like it should raise the frame, don't you think?
> XSetInputFocus seems unrelated (especially since `raise-frame' doesn't call
> it AFAIK).
> In other words, to me it seems that if `raise-frame' requires this
> _NET_ACTIVE_WINDOW footwork to work, it's a bug either in the WM or in the
> wm-spec: `XRaiseWindow' should do just what it says, i.e. raise the window.
> But maybe there's a rationale for this, so it's just a misfeature needed for
> some odd reason.  In that case I'd be interested to hear what's the reason
> (and if the reason has to do with input-focus, I'll need more info to
> understand what's the relationship with raise-frame).

If you really want to know the answer, the logical thing is to ask at
address@hidden (to post to that list you need to subscribe at
address@hidden, or subscribe to the no-traffic list
address@hidden).  If you want to summarize the situation and ask
the folks there, that'd be great.

(Though my money is on "misfeature needed for some odd reason"; I
think we should just apply the patch if it demonstrably works,
especially since it shouldn't have any harmful effects.)

reply via email to

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