Re: FVWM: SloppyFocus/ClickToFocus

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sun, 28 Mar 1999 20:44:21 +0200

On Sun, Mar 28, 1999 at 02:10:35AM -0500, Bob Woodside wrote:
> Dominik Vogt wrote:
> > Moving undecorated transients has been 'fixed'.
>
> Great! I'd missed that. Do you remember what was done to fix it?

No. But that's why I have all releases since 2.0.45 on my disk :)

In events.c(HandleButtonPress) I had to change this code:

    if (...)
    {
      RaiseWindow(Tmp_win);
      KeepOnTop();
    }
    XSync(dpy,0);
    XAllowEvents(dpy,ReplayPointer,CurrentTime);
    XSync(dpy,0);
    return;

to the new version:

    if (...)
    {
      RaiseWindow(Tmp_win);
      XSync(dpy,0);
      XAllowEvents(dpy,ReplayPointer,CurrentTime);
      XSync(dpy,0);
      return;
    }

The old code simply gobbled up the button press before the
binding could be processed. The original bug report mentioned
the corners of a transient. Since undecorated transients don't
have corners you can't bind anything to them. Only the side bars
('s') will work.

> > This was not even a bug since undecorated transients don't
> > have a border (they only look as if), so you can't move them
> > with the mouse over the border.
>
> Well, I considered it a bug. The behavior was inconsistent with the
> handling of naked transients in all other circumstances, where you could
> drag with the mouse in the context of the tiny exposed bit of the frame.
> I'm glad it's been fixed.

Well, after looking again I must confess it was a real bug.

Bye

Dominik ^_^

--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Mar 28 1999 - 14:53:38 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST