Re: [dev] dwm switches view on _NET_ACTIVE_WINDOW

From: Andreas Amann <amann_AT_physik.tu-berlin.de>
Date: Sun, 10 Mar 2013 01:52:39 +0100

On Sat, Mar 09, 2013 at 10:24:13PM +0100, Markus Teich wrote:
> Am 09.03.2013 21:30, schrieb Andreas Amann:
> > On Mon, Mar 04, 2013 at 11:36:57AM +0100, Markus Teich wrote:
> >> Hi,
> >>
> >> a month ago i started using dwm.
> >> In my rules i send firefox clients to tag 2.
> >> Now, after starting dwm i am on tag 1 and after i started firefox via
> >> dmenu, i automatically get switched to tag 2.
> >
> > Do you also get switched to tag 2, if you start firefox from a terminal in
> > tag 1?
>
> Yes and also when opening a new tab in the running firefox from a
> different dwm tag.

In this case you can try the attached patch. Does this solve the problem?
This patch allows _NET_ACTIVE_WINDOW messages from pagers only. Unless your
application poses as a pager, it should therefore not cause a switch.

Andreas


Received on Sun Mar 10 2013 - 01:52:39 CET

This archive was generated by hypermail 2.3.0 : Sun Mar 10 2013 - 02:00:07 CET