emacs-pretest-bug
[Top][All Lists]
Advanced

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

Ediff frame doesn't keep keyboard focus


From: Chris Moore
Subject: Ediff frame doesn't keep keyboard focus
Date: Wed, 13 Dec 2006 15:33:03 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

I have 2 files to compare, and type the following:

  M-x ediff RET /tmp/file1.txt RET /tmp/file2.txt RET

A new small frame is created in the top right of the screen entitled
"Ediff", with "Type ? for help \n _/1" in it.

I type

  n

to go to the next difference.  The main Emacs frame updates to show
the difference, but the small frame loses keyboard focus.  If I hit
'n' again, an 'n' appears in the file2.txt buffer.

This only happens if the main Emacs frame is pushed up against the top
of the screen (this includes the case where the main Emacs frame is maximised).

I am using the 'xfwm4' window manager, and the XFCE4 desktop
environment.  The window manager is set to 'focus follows mouse', with
'automatically give focus to newly created windows' ticked.

If I switch the focus model to 'click to focus' then the problem goes away.

A couple of screenshots:

Before hitting 'n' (a blue titlebar indicates the focused window):

Attachment: before.png
Description: before hitting 'n'

After hitting 'n':

Attachment: after.png
Description: after hitting 'n'




In GNU Emacs 22.0.91.28 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2006-12-11 on chrislap
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--with-gtk' '--prefix' '/usr/local/emacs22' 
'--with-xpm' '--with-jpeg' '--with-png' '--with-gif''

reply via email to

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