emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: focus follows mouse in C


From: Richard Stallman
Subject: Re: PATCH: focus follows mouse in C
Date: Thu, 7 Feb 2002 07:56:45 -0700 (MST)

    +  if (x_autoselect_window_p)
    +    {
    +      int area;
    +      Lisp_Object window;
    +
    +      window = window_from_coordinates (frame, XINT (event->x), XINT 
(event->y), &area, 0);
    +
    +      if (WINDOW_LIVE_P (window) && !MINI_WINDOW_P (XWINDOW(window)))
    +   Fselect_window(window);
    +    }
    +

It looks like this selects the window on every motion of the mouse.
That may be what you don't like.  Maybe it should select the window
only when the mouse moves into a different window.

Also, it seems to be completely unwilling to select a minibuffer window.
When the minibuffer is active, it should be selectable like any other window.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]