unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Christian Tanzer <tanzer@swing.co.at>
Cc: 19003@debbugs.gnu.org
Subject: bug#19003: 24.4; Mouse-click in different frame displaying same buffer breaks region
Date: Mon, 10 Nov 2014 20:39:50 -0500	[thread overview]
Message-ID: <jwvppcuekc4.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <ymzzjc0sm8l.fsf@tr.swing.cluster> (Christian Tanzer's message of "Sun, 09 Nov 2014 11:26:50 +0100")

Would the patch below solve it for you?


        Stefan


=== modified file 'src/frame.c'
--- src/frame.c	2014-11-10 20:05:40 +0000
+++ src/frame.c	2014-11-10 22:55:38 +0000
@@ -1198,7 +1198,7 @@
   return do_switch_frame (frame, 1, 0, norecord);
 }
 
-DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1, 1, "e",
+DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1, 1, "^e",
        doc: /* Handle a switch-frame event EVENT.
 Switch-frame events are usually bound to this function.
 A switch-frame event tells Emacs that the window manager has requested

=== modified file 'lisp/window.el'
--- lisp/window.el	2014-10-15 18:32:27 +0000
+++ lisp/window.el	2014-11-10 22:56:00 +0000
@@ -7904,7 +7904,7 @@
 
 (defun handle-select-window (event)
   "Handle select-window events."
-  (interactive "e")
+  (interactive "^e")
   (let ((window (posn-window (event-start event))))
     (unless (or (not (window-live-p window))
 		;; Don't switch if we're currently in the minibuffer.






  parent reply	other threads:[~2014-11-11  1:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-09 10:26 bug#19003: 24.4; Mouse-click in different frame displaying same buffer breaks region Christian Tanzer
2014-11-10 22:55 ` Stefan Monnier
2014-11-11  1:39 ` Stefan Monnier [this message]
2014-11-14 11:28   ` Christian Tanzer
2014-11-16  5:30     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvppcuekc4.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=19003@debbugs.gnu.org \
    --cc=tanzer@swing.co.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).