unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12731: 24.2.50; dragging the mode-line selects other window
@ 2012-10-25 13:14 Michael Heerdegen
  2012-10-25 13:47 ` Michael Heerdegen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Heerdegen @ 2012-10-25 13:14 UTC (permalink / raw)
  To: 12731

Hi,

resizing windows vertically with mouse-1 now selects the according
window.  In Emacs 23, you could drag any mode-line in the selected frame
without changing the selected window.  This is IHMO a regression.  I can
click the mode-line if I really want to select a window.

Steps to reproduce from emacs -Q:

1. C-x 2
2. C-x o
3. Drag the upper window's mode-line.

The upper window is selected when you release mouse-1.  This makes no
sense when I only wanted to enlarge the lower window.


Thanks,

Michael.


In GNU Emacs 24.2.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2012-10-25 on dex, modified by Debian
 (emacs-snapshot package, version 2:20121025-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux testing (wheezy)

Configured using:
 `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.2.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.2.50/site-lisp:/usr/share/emacs/site-lisp'
 '--without-compress-info' '--with-crt-dir=/usr/lib/x86_64-linux-gnu/'
 '--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes'
 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu'
 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g
 -Wl,--as-needed -znocombreloc' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12731: 24.2.50; dragging the mode-line selects other window
  2012-10-25 13:14 bug#12731: 24.2.50; dragging the mode-line selects other window Michael Heerdegen
@ 2012-10-25 13:47 ` Michael Heerdegen
  2012-10-25 18:43 ` martin rudalics
  2012-10-26 12:45 ` martin rudalics
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Heerdegen @ 2012-10-25 13:47 UTC (permalink / raw)
  To: 12731

> resizing windows vertically with mouse-1 now selects the according
> window.

BTW, if I remove this last line in the code of `mouse-drag-line':

  (push event unread-command-events)

the behavior is like before.


Michael.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12731: 24.2.50; dragging the mode-line selects other window
  2012-10-25 13:14 bug#12731: 24.2.50; dragging the mode-line selects other window Michael Heerdegen
  2012-10-25 13:47 ` Michael Heerdegen
@ 2012-10-25 18:43 ` martin rudalics
  2012-10-26 12:45 ` martin rudalics
  2 siblings, 0 replies; 4+ messages in thread
From: martin rudalics @ 2012-10-25 18:43 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 12731

 > 1. C-x 2
 > 2. C-x o
 > 3. Drag the upper window's mode-line.
 >
 > The upper window is selected when you release mouse-1.  This makes no
 > sense when I only wanted to enlarge the lower window.

The last line of `mouse-drag-line' should move into the preceding
`when' clause.

martin





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12731: 24.2.50; dragging the mode-line selects other window
  2012-10-25 13:14 bug#12731: 24.2.50; dragging the mode-line selects other window Michael Heerdegen
  2012-10-25 13:47 ` Michael Heerdegen
  2012-10-25 18:43 ` martin rudalics
@ 2012-10-26 12:45 ` martin rudalics
  2 siblings, 0 replies; 4+ messages in thread
From: martin rudalics @ 2012-10-26 12:45 UTC (permalink / raw)
  To: 12731-done; +Cc: Michael Heerdegen

> 1. C-x 2
> 2. C-x o
> 3. Drag the upper window's mode-line.
> 
> The upper window is selected when you release mouse-1.  This makes no
> sense when I only wanted to enlarge the lower window.

Should be fixed in revision 110673.  Bug closed.

Thanks, martin






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-26 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 13:14 bug#12731: 24.2.50; dragging the mode-line selects other window Michael Heerdegen
2012-10-25 13:47 ` Michael Heerdegen
2012-10-25 18:43 ` martin rudalics
2012-10-26 12:45 ` martin rudalics

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).