stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] raise and focus rule set to nil focuses window if only windo


From: Ben Spencer
Subject: Re: [STUMP] raise and focus rule set to nil focuses window if only window in frame
Date: Tue, 12 Jul 2011 13:24:06 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Jun 08, 2011 at 11:59:36PM -0400, Scott Jaderholm wrote:
> When I make a placement rule that isn't supposed to focus the window (nil as
> third field in dumped rules) it only works (doesn't focus the window) when
> there's already a window in the destination frame. Anyone else have this
> problem? is it a bug? Or is the scope of the raise option really only
> raising not focusing?

Hi Scott,

Looks like a bug.  The issue is that group-add-window raises and
focuses the window when it's the only one in its frame.  Attached is a
patch to make it only raise the window in that case, but I'm not sure
if this will break anything else.

Ben

Attachment: 0001-Only-focus-window-in-group-add-window-if-raise-is-sp.patch
Description: Text Data


reply via email to

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