Re: FVWM: Re: Bug also in FvwmTabs

From: Tobias <medlor_at_web.de>
Date: Thu, 27 Nov 2003 01:34:37 +0100

Hello Scott

Finaly i got time to briefly look into the code.
I found the error at takeFocus():
----------
<...>
    else
    {
        $winId = $tabWin{$tId}{tab}[$tabWin{$tId}{currentTab}]{winId};
    }
    # "revert-to" (2nd) arg can be 'Parent', 'PointerRoot' or 'None'.
    $xServer->SetInputFocus($winId, 'Parent', $tabWin{$tId}{focusTimestamp});
    # $fvwm->debug("takeFocus(end) winId=$winId");
<...>
----------

Changing the SetInputFocus() to
"$xServer->SetInputFocus($winId, 'Parent', 'CurrentTime');"
its all working flawless.

The variables in $tabWin{$tId}{focusTimestamp} does look ok though, but
i dont have any knowledge about the X11-Protocol. Perhaps you know
what could be wrong.

Hopefully i could help you finding the bug.

Greets
Tobias



On Sat, 15 Nov 2003 12:14:24 +1100
scott <ss_at_aao.gov.au> wrote:

> Hi Tobias,
>
> : > > > After switching between Desktops
> : > > > i cannot get the focus back to the Tabmanager and
> : > > > only can get it back by pushing mouse button on the
> : > > > background (or moving the TabManager by shortcuts).
> : >
> : > I can't reproduce this bug - what system are you using?
> : > Does FvwmTabs output anything on stdout/stderr?
> :
> : <snip>
> :
> : I have put my .fvwm dir to download at
> : http://www.ownz.de/medlor-fvwm.tar.gz . Perhaps this does help you.
>
> Nice bg piccie! :)
>
> Well I'm using your exact FVWM configuration on my system & I can't
> reproduce this bug. (focusing works fine after switching desktops.)
>
> I'm using:
> Redhat Linux 7.3
> fvwm 2.5.9 (from cvs) compiled on Nov 11 2003
> FvwmTabs v2.5
> Module FvwmTabs started with: X11::Protocol 0.52, Tk 800.024.
>
> SCoTTie. :)
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Nov 26 2003 - 18:37:14 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST