Re: [EMAIL PROTECTED]: Re: focus-follows-mouse should be nil by default on MS Windows]

2006-07-15 Thread Jan Djärv
(defun select-frame-set-input-focus (frame) "Select FRAME, raise it, and set input focus, if possible." (select-frame frame) (raise-frame frame) ;; Ensure, if possible, that frame gets input focus. (cond ((eq window-system 'x) (x-focus-frame frame)) ((eq window-s

Re: [EMAIL PROTECTED]: Re: focus-follows-mouse should be nil by default on MS Windows]

2006-07-15 Thread martin rudalics
> There are window managers that does not allow focus changes outside the > window > that has the mouse in it, if focus follows mouse. Metacity and sawfish > calls this mode focus-follows-mouse-strict. In that case, the code > above moves the mouse to the new window so it gets the focus. It is

Re: [EMAIL PROTECTED]: Re: focus-follows-mouse should be nil by default on MS Windows]

2006-07-15 Thread Eli Zaretskii
> Date: Sat, 15 Jul 2006 16:00:03 +0200 > From: martin rudalics <[EMAIL PROTECTED]> > CC: Eli Zaretskii <[EMAIL PROTECTED]>, emacs-pretest-bug@gnu.org > > I think Windows never had a thing like "focus-follows-mouse-strict" or > "focus-under-mouse". Windows' official non-click philosophy is to >

Re: [EMAIL PROTECTED]: Re: focus-follows-mouse should be nil by default on MS Windows]

2006-07-15 Thread martin rudalics
>> ... you have to explicitly click on the desktop in order >>to "give it focus". > > > That's the default, yes. But one can tweak the Registry to force > Windows behave more like X, in that just entering a window with the > mouse gives it focus. (I do this on any Windows machine I need to > wor