Martin Dietze wrote:
> On Mon, August 24, 2009, Martin Dietze wrote:
>
>> I guess the original problem could be solved by simply ignoring
>> the request if (how to find out?) the window to focus is not in
>> the current workspace.
>
> This here solves the problem for me. Not sure whether this has
> any undesirable side effects though:
>
> 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 :-)
--
To unsubscribe, send mail to [email protected].