FVWM: Re: Focus Bug in FvwmTabs (2.6)

From: xavier <list.fvwm_at_natch.dyndns.org>
Date: Sun, 22 Feb 2004 14:12:53 -0500

On Thu, Nov 27, 2003 at 01:34:37AM +0100, Tobias wrote:
|
|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.
|




Hi, I have the same problem with fvwmtabs 2.6,
and I patched the line you're talking about,
it works wonderfully.

I have to test fvwmtabs 2.7 tough.

thanks



[ history mode ]

|
|
|
|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.
|

-- 
xavier
--
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 Sun Feb 22 2004 - 13:15:09 GMT

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