On Mon, August 24, 2009, Carlos R. Mafra wrote:

> > diff --git a/src/wmspec.c b/src/wmspec.c
> > index 87c0a19..0ae9f25 100644
> > --- a/src/wmspec.c
> > +++ b/src/wmspec.c
> > @@ -1446,7 +1446,8 @@ Bool wNETWMProcessClientMessage(XClientMessageEvent * 
> > even
> >         if (!wwin)
> >                 return False;
> >  
> > -       if (event->message_type == net_active_window) {
> > +       if (wwin->frame->workspace == wwin->screen_ptr->current_workspace
> > +           && event->message_type == net_active_window) {
> >                 wNETWMShowingDesktop(scr, False);
> >                 wMakeWindowVisible(wwin);
> >         } else if (event->message_type == net_close_window) {
> > 
> > Any comments?
> 
> Seems sensible :-)

I'll probably just keep on using this patch on my box at work
and see if there's any noticable side effect. Still not quite
sure whether this patch is standards-compliant...

Cheers,

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
If you cannot convince them, confuse them.
                -- Harry S Truman


-- 
To unsubscribe, send mail to [email protected].

Reply via email to