emacs-devel
[Top][All Lists]
Advanced

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

Re: A focus problem when mouse curse moved on a child-frame in linux


From: martin rudalics
Subject: Re: A focus problem when mouse curse moved on a child-frame in linux
Date: Fri, 12 Jan 2018 09:48:03 +0100

> -------------------------------------------------------
> (let ((buffer (get-buffer-create "*test*"))
>        (test (let ((after-make-frame-functions nil))
>                (make-frame
>                 `((parent-frame . ,(window-frame))
>                   (no-accept-focus . t)
[...]
>    (fit-frame-to-buffer test))<I>
>
> -----------------------------------------------------------
>
> 1. eval above code at <I> , a child-frame will be at <I>
> 2. move mouse curse on the top of this child-frame

Since the child frame is specified to not accept focus I can't do
that.

> 3. type "a", the "a" should be inserted into the position <I>,
> on Windows, it is, but on linux, the "a" is inserted into the
> child-frame's buffer instead of position <I>

The "a" is inserted at position <I> here (GTK+ Version 3.4.2, xfwm4
under Xfce 4.8 on Debian).  I'm afraid your window manager doesn't
process the 'accept-focus' parameter correctly.

martin



reply via email to

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