X-Loop: help-debbugs@HIDDEN Subject: bug#16681: mouse-autoselect-window missing when switching frames Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 07 Feb 2014 14:20:02 +0000 Resent-Message-ID: <handler.16681.B.13917827438279 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 16681 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 16681 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.13917827438279 (code B ref -1); Fri, 07 Feb 2014 14:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Feb 2014 14:19:03 +0000 Received: from localhost ([127.0.0.1]:54461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WBmGk-00029R-Qu for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 09:19:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58950) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <monnier@HIDDEN>) id 1WBmGh-00028x-Da for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 09:19:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1WBmGZ-000360-H3 for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 09:18:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1WBmGZ-00035w-Ek for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 09:18:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1WBmGT-0005xf-2U for bug-gnu-emacs@HIDDEN; Fri, 07 Feb 2014 09:18:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1WBmGM-00030g-Md for bug-gnu-emacs@HIDDEN; Fri, 07 Feb 2014 09:18:45 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:16949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1WBmGM-00030c-GR for bug-gnu-emacs@HIDDEN; Fri, 07 Feb 2014 09:18:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkIABK/CFFFpZBG/2dsb2JhbABErF0BikSHbBdzgnsTAUsPBCEBHA1Vh3OgC6EijR9EgycDiGGcGYFegxWBUQ X-IPAS-Result: AjkIABK/CFFFpZBG/2dsb2JhbABErF0BikSHbBdzgnsTAUsPBCEBHA1Vh3OgC6EijR9EgycDiGGcGYFegxWBUQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="47000192" Received: from 69-165-144-70.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.70]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Feb 2014 09:18:37 -0500 Received: by pastel.home (Postfix, from userid 20848) id 580C66054A; Fri, 7 Feb 2014 09:18:37 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> Date: Fri, 07 Feb 2014 09:18:37 -0500 Message-ID: <jwv8utnqa4i.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) Package: Emacs Version: 24.3.50 In a system with "focus follows mouse" do the following: % src/emacs -Q --eval '(setq mouse-autoselect-window t)' C-x 5 2 <place the two frames side by side> C-x 2 <go to the second frame> C-x 2 Now move mouse "in circle": - top-left window, then top-right window, then bottom-right window, then bottom-left window, and if you like it, you can keep doing it for a while. notice how this *should* select each one of the four windows in each cycle, but instead only 2 of those windows are selected: when crossing from one frame to the other the new frame is selected, but that frame's selected window is used as the new selected window instead of using that the window into which the mouse just entered. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.22) of 2014-02-02 on pastel Repository revision: monnier@HIDDEN Windowing system distributor `The X.Org Foundation', version 11.0.11405000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure -C --enable-checking --enable-check-lisp-object-type 'CFLAGS=-Wall -g3 -O0 -Wno-pointer-sign'' Important settings: value of $LANG: fr_CH.UTF-8 locale-coding-system: utf-8-unix Major mode: InactiveMinibuffer Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t electric-pair-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: <up> <left> <right> <up> <left> <right> <down> <left> <right> <down> <left> <right> <down> <down-mouse-1> <mouse-movement> <mouse-1> <double-down-mouse-1> <mouse-movement> <mouse-movement> <double-drag-mouse-1> <down-mouse-1> <mouse-1> <double-down-mouse-1> <mouse-movement> <mouse-movement> <double-drag-mouse-1> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <down-mouse-1> <mouse-movement> <mouse-1> <double-down-mouse-1> <mouse-movement> <mouse-movement> <double-drag-mouse-1> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <down-mouse-1> <mouse-movement> <mouse-1> <double-down-mouse-1> <mouse-movement> <mouse-movement> <double-drag-mouse-1> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <down-mouse-1> <mouse-movement> <mouse-1> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <down-mouse-1> <mouse-movement> <mouse-1> C-s C-w C-w C-w <switch-frame> C-s C-s C-a <down-mouse-1> <mouse-1> C-e <down-mouse-5> <mouse-5> <help-echo> <switch-frame> <switch-frame> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <down-mouse-1> <mouse-movement> <mouse-1> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <help-echo> <select-window> <select-window> <select-window> <select-window> <select-window> <switch-frame> <switch-frame> <select-window> <select-window> <select-window> <select-window> <select-window> <select-window> <help-echo> <select-window> <help-echo> <select-window> <select-window> <select-window> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <help-echo> <switch-frame> <switch-frame> <help-echo> <switch-frame> <switch-frame> <switch-frame> <help-echo> <switch-frame> <help-echo> <switch-frame> <switch-frame> <help-echo> <select-window> <help-echo> <switch-frame> <switch-frame> <help-echo> <switch-frame> <switch-frame> <help-echo> <switch-frame> <switch-frame> <help-echo> <switch-frame> <switch-frame> <select-window> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <help-echo> <switch-frame> <help-echo> <switch-frame> <help-echo> <select-window> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <select-window> <help-echo> <select-window> <help-echo> <switch-frame> <switch-frame> <help-echo> <switch-frame> <switch-frame> <select-window> <help-echo> <select-window> <select-window> <help-echo> <select-window> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <help-echo> <select-window> <help-echo> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> C-h v m o u - a u t <tab> C-a C-k <switch-frame> <switch-frame> <switch-frame> <help-echo> <switch-frame> <switch-frame> <switch-frame> C-y C-a C-M-SPC <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> C-e <backspace> <backspace> <tab> <tab> <return> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> M-x r e p - e m - b u <tab> <return > Recent messages: uncompressing autoload.el.gz...done Note: file is write protected Warning: turn-on-eldoc-mode is obsolete! Mark saved where search started [2 times] uncompressing package.el.gz...done Note: file is write protected Warning: turn-on-eldoc-mode is obsolete! Mark saved where search started [2 times] Making completion list... Load-path shadows: /home/monnier/src/emacs/elpa/packages/company/.dir-locals hides /home/monnier/src/emacs/elpa/packages/js2-mode/.dir-locals /home/monnier/src/emacs/elpa/packages/ada-mode/ada-mode hides /home/monnier/src/emacs/work/lisp/progmodes/ada-mode /home/monnier/src/emacs/elpa/packages/company/.dir-locals hides /home/monnier/src/emacs/work/lisp/gnus/.dir-locals Features: (qp rect sort mail-extr emacsbug log-edit message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mail-utils mailheader pcvs-util vc-sccs vc-svn vc-cvs vc-rcs vc-dir smerge-mode bug-reference add-log whitespace diff-mode vc vc-dispatcher xscheme unsafep trace testcover shadow scheme re-builder profiler pcase inf-lisp ielm pp gmm-utils ert ewoc debug elp edebug cl-indent eieio-opt speedbar sb-image ezimage dframe completion autorevert filenotify bbdb-com mailabbrev bbdb timezone sgml-mode reftex-dcr reftex reftex-vars tex-mode compile shell latexenc org-protocol org-mouse org-mobile org-agenda org-indent org-feed org-crypt org-capture org-attach vc-git org-id cus-edit cus-start cus-load wid-edit org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func misearch multi-isearch executable copyright view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs warnings cal-french vc-bzr filecache vlf diary-lib diary-loaddefs mule-util cal-move cal-menu calendar cal-loaddefs server noutline outline easy-mmode flyspell ispell eldoc checkdoc thingatpt help-mode elec-pair url-handlers url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-vars reveal autoinsert proof-site proof-autoloads cl-macs gv cl pg-vars time-date savehist minibuf-eldef disp-table edmacro kmacro cl-loaddefs cl-lib info easymenu byte-opt bytecomp byte-compile cconv advice help-fns package bbdb-autoloads agda2 vm-autoloads tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Stefan Monnier <monnier@HIDDEN> Subject: bug#16681: Acknowledgement (mouse-autoselect-window missing when switching frames) Message-ID: <handler.16681.B.13917827438279.ack <at> debbugs.gnu.org> References: <jwv8utnqa4i.fsf@HIDDEN> X-Gnu-PR-Message: ack 16681 X-Gnu-PR-Package: emacs Reply-To: 16681 <at> debbugs.gnu.org Date: Fri, 07 Feb 2014 14:20:05 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 16681 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 16681: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16681 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#16681: mouse-autoselect-window missing when switching frames Resent-From: martin rudalics <rudalics@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 07 Feb 2014 19:16:02 +0000 Resent-Message-ID: <handler.16681.B16681.139180051816160 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 16681 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: 16681 <at> debbugs.gnu.org Received: via spool by 16681-submit <at> debbugs.gnu.org id=B16681.139180051816160 (code B ref 16681); Fri, 07 Feb 2014 19:16:02 +0000 Received: (at 16681) by debbugs.gnu.org; 7 Feb 2014 19:15:18 +0000 Received: from localhost ([127.0.0.1]:55428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WBqtR-0004Ca-O7 for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 14:15:18 -0500 Received: from mout.gmx.net ([212.227.15.19]:54958) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <rudalics@HIDDEN>) id 1WBqtO-0004CR-Ut for 16681 <at> debbugs.gnu.org; Fri, 07 Feb 2014 14:15:15 -0500 Received: from [62.47.45.69] ([62.47.45.69]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MPYqL-1W7A4B138T-004jg2 for <16681 <at> debbugs.gnu.org>; Fri, 07 Feb 2014 20:15:14 +0100 Message-ID: <52F530C0.1060001@HIDDEN> Date: Fri, 07 Feb 2014 20:15:12 +0100 From: martin rudalics <rudalics@HIDDEN> MIME-Version: 1.0 References: <jwv8utnqa4i.fsf@HIDDEN> In-Reply-To: <jwv8utnqa4i.fsf@HIDDEN> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:YhJETWR0/23SNGplloEJ8BOVseEuCKBkoOK+Vcz0zCFcbQj+LHr K+hMeKAR5hszxAsc2z7mJBvW00aItXJYaMuw+neYTosKviTIrGTD4MY9t3Y5bTQofRAXgHS u4O5CY+LruXKvrMz0o+of/vmuynNgBWk7pqyY2yGLPIRwNhWGIfHpkEDMx4WqN8It29VN9n vLxCej1azHKCtKRioGhgg== X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) > In a system with "focus follows mouse" do the following: > > % src/emacs -Q --eval '(setq mouse-autoselect-window t)' > C-x 5 2 > <place the two frames side by side> > C-x 2 > <go to the second frame> > C-x 2 > > Now move mouse "in circle": > - top-left window, then top-right window, then bottom-right window, then > bottom-left window, and if you like it, you can keep doing it for a while. > notice how this *should* select each one of the four windows in each cycle, > but instead only 2 of those windows are selected: when crossing from one > frame to the other the new frame is selected, but that frame's selected > window is used as the new selected window instead of using that the > window into which the mouse just entered. Works without problems on Window XP. On my Debian GTK build I have to set `focus-follows-mouse' to t to make it work. martin
X-Loop: help-debbugs@HIDDEN Subject: bug#16681: mouse-autoselect-window missing when switching frames Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 08 Feb 2014 07:43:02 +0000 Resent-Message-ID: <handler.16681.B16681.139184537821397 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 16681 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics <rudalics@HIDDEN> Cc: monnier@HIDDEN, 16681 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 16681-submit <at> debbugs.gnu.org id=B16681.139184537821397 (code B ref 16681); Sat, 08 Feb 2014 07:43:02 +0000 Received: (at 16681) by debbugs.gnu.org; 8 Feb 2014 07:42:58 +0000 Received: from localhost ([127.0.0.1]:56333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WC2Yz-0005Z2-67 for submit <at> debbugs.gnu.org; Sat, 08 Feb 2014 02:42:57 -0500 Received: from mtaout24.012.net.il ([80.179.55.180]:57369) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <eliz@HIDDEN>) id 1WC2Yu-0005Yp-VV for 16681 <at> debbugs.gnu.org; Sat, 08 Feb 2014 02:42:54 -0500 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N0O00H002CWXI00@HIDDEN> for 16681 <at> debbugs.gnu.org; Sat, 08 Feb 2014 09:42:02 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0O00CSK2Q21E60@HIDDEN>; Sat, 08 Feb 2014 09:42:02 +0200 (IST) Date: Sat, 08 Feb 2014 09:42:33 +0200 From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <52F530C0.1060001@HIDDEN> X-012-Sender: halo1@HIDDEN Message-id: <83bnyixd7a.fsf@HIDDEN> References: <jwv8utnqa4i.fsf@HIDDEN> <52F530C0.1060001@HIDDEN> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) > Date: Fri, 07 Feb 2014 20:15:12 +0100 > From: martin rudalics <rudalics@HIDDEN> > Cc: 16681 <at> debbugs.gnu.org > > > In a system with "focus follows mouse" do the following: > > > > % src/emacs -Q --eval '(setq mouse-autoselect-window t)' > > C-x 5 2 > > <place the two frames side by side> > > C-x 2 > > <go to the second frame> > > C-x 2 > > > > Now move mouse "in circle": > > - top-left window, then top-right window, then bottom-right window, then > > bottom-left window, and if you like it, you can keep doing it for a while. > > notice how this *should* select each one of the four windows in each cycle, > > but instead only 2 of those windows are selected: when crossing from one > > frame to the other the new frame is selected, but that frame's selected > > window is used as the new selected window instead of using that the > > window into which the mouse just entered. > > Works without problems on Window XP. On my Debian GTK build I have to > set `focus-follows-mouse' to t to make it work. On Windows XP here, it doesn't work unless I set focus-follows-mouse non-nil.
X-Loop: help-debbugs@HIDDEN Subject: bug#16681: mouse-autoselect-window missing when switching frames Resent-From: martin rudalics <rudalics@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 18 Feb 2017 11:38:02 +0000 Resent-Message-ID: <handler.16681.B16681.148741786726648 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 16681 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN>, 16681 <at> debbugs.gnu.org Received: via spool by 16681-submit <at> debbugs.gnu.org id=B16681.148741786726648 (code B ref 16681); Sat, 18 Feb 2017 11:38:02 +0000 Received: (at 16681) by debbugs.gnu.org; 18 Feb 2017 11:37:47 +0000 Received: from localhost ([127.0.0.1]:44247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cf3Kl-0006vk-5F for submit <at> debbugs.gnu.org; Sat, 18 Feb 2017 06:37:47 -0500 Received: from mout.gmx.net ([212.227.17.21]:53156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1cf3Kk-0006vW-2A for 16681 <at> debbugs.gnu.org; Sat, 18 Feb 2017 06:37:46 -0500 Received: from [192.168.1.100] ([213.162.68.64]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LiHc7-1c2MmX0Roh-00nNdj; Sat, 18 Feb 2017 12:37:30 +0100 Message-ID: <58A831F4.3080907@HIDDEN> Date: Sat, 18 Feb 2017 12:37:24 +0100 From: martin rudalics <rudalics@HIDDEN> MIME-Version: 1.0 References: <jwv8utnqa4i.fsf@HIDDEN> In-Reply-To: <jwv8utnqa4i.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:wIhf9OprE/4YFGkfBB70qCMeODuoOwIjE9X2RjMjXWFrZHNBWfQ TOITb5ZGpUL7YYDT9tHImAeZwg71GTpaM1tXw56Fy3uQYVbTUyWKhBBo3++IU8BXh4U7INx EGUbY8aj3j3/3OTlRcU5cJn6DQ0aKKhEeVTN11WyzS0/LUqz7KzaFgdgDVAlklO4nRZsCfJ E6HkpizizRmITAvWdlfaw== X-UI-Out-Filterresults: notjunk:1;V01:K0:iBb90hfy6i0=:sp1x03hUarToGtHQlchW5L kxa5qtY3cB2LHeDMxn4aPxX97vmrMs5EIAA7SwYKMYNqpmcBl5mgMGS4gWOnvIpFbqDh/gL5N B4Enj6vIQZEYwvXwXRqT+1rc5bDV7l07jhXo82zgnTC02obWJHGH8T5X7h+rljtFeY6YoVTEe tggK4qeckZYruVktyuz327XSND/PmA0MHQ1nHwOsCyNnD14zgW1cZmtWwpXEaeHPueRQgfA7G uFRSTB+F45H1xwkobeznuyTeTpexkLPf488jQ8jzvTDLK3DxNMG3zJ9Q/8l1KR5iZFzfdYICc tBf8NlCJ3lVaJfrg2MmAirY2es+AqOXrM6VgRD8+eDNiblxJhapnGBS7Onk2GxjT/Xeq8JUIE Gnz6QzzW3m3QBozGNZ8KiYbHxgYbfAj/jS8TtGwLl3PHRcX/1qX3ze5ryXgwRE8gaK0Cww58S Yzl3XZsVV+72xNLZJm3F7q13yiUGESqKX27xEiIG4dSaJPQveUoUV5GcfFR64G+p4P6sZy51d WTe/FrB/+oNpFW+OImkqJkG1LoA5O21UBtgr2yfb2eaRTquEB+n9sUefsHU/AXFXXNAtxfIcY H2MqyQaXYejnmf2IR0wIQVjnB7DSr9wdUZE5uk0lNZ/0TV6UmB7j5jHgZL96pPI2ynuy5VaQX BZJCLN2k/cKtXgW1b3FDPbMa2ADUOmpmQdWOmGexjrWYslm8TsvXb9KzXzMEQfORzcDS8farr jjgXDKFa1AWJK2DUAFQ8PWv1YvU2Xlh/rbooAC+HjLqj8doKnOYWxCL815mJF3iVpoxvJhzae /nAfpHlwt9jLZR2Mjv9jTtJooM1PA== X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.2 (/) > In a system with "focus follows mouse" do the following: > > % src/emacs -Q --eval '(setq mouse-autoselect-window t)' > C-x 5 2 > <place the two frames side by side> > C-x 2 > <go to the second frame> > C-x 2 > > Now move mouse "in circle": > - top-left window, then top-right window, then bottom-right window, th= en > bottom-left window, and if you like it, you can keep doing it for a= while. > notice how this *should* select each one of the four windows in each c= ycle, > but instead only 2 of those windows are selected: when crossing from o= ne > frame to the other the new frame is selected, but that frame's selecte= d > window is used as the new selected window instead of using that the > window into which the mouse just entered. Is this still an issue (with =E2=80=98focus-follows-mouse=E2=80=99 non-ni= l, obviously)? If so, could you please check with GDB whether setting a break point in the MotionNotify case in xterm.c triggers when the mouse crosses from one frame into another? To make such a test practical, please replace the first line x_display_set_last_user_time (dpyinfo, event->xmotion.time); there by some dummy construct like if (any =3D=3D XFRAME (selected_frame)) x_display_set_last_user_time (dpyinfo, event->xmotion.time); else x_display_set_last_user_time (dpyinfo, event->xmotion.time); and put the breakpoint at the last line of that construct. If it doesn't trigger, we'll probably have to put a similar detection routine into EnterNotify although such an approach might clash with the window manager's focus-in handling. Thanks, martin
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.