[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17439: 24.3.50; run-with-idle-timer runs on focus-out
From: |
Juri Linkov |
Subject: |
bug#17439: 24.3.50; run-with-idle-timer runs on focus-out |
Date: |
Fri, 09 May 2014 23:35:20 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) |
> Why did you add focus-in as well?
When I tried to switch out with
(defun test () (message "%S" last-input-event))
(setq timer (run-with-idle-timer 0.1 t 'test))
it prints to *Messages* both lines:
(focus-in #<frame emacs@localhost 0x1121908>)
(focus-out #<frame emacs@localhost 0x1121908>)
`focus-in' is fired by the desktop window switcher
that shows the list of desktop windows to switch.
After selecting another window from the Window List,
`focus-out' is fired eventually too.
So when `focus-in' is not ignored in avoid.el then the
mouse cursor will be moved after showing the Window List.
But it seems this is not a problem because special mouse
processing is disabled when the Window List is shown.
> Wouldn't you want the mouse moved when you are about to type?
Yes, it's better to move the mouse on focusing in
than later on typing a key after switching.
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Juri Linkov, 2014/05/08
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Eli Zaretskii, 2014/05/09
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out,
Juri Linkov <=
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Eli Zaretskii, 2014/05/10
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Juri Linkov, 2014/05/10
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Juri Linkov, 2014/05/11
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Stefan Monnier, 2014/05/11
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Juri Linkov, 2014/05/11
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Stefan Monnier, 2014/05/11
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Juri Linkov, 2014/05/12
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Stefan Monnier, 2014/05/13
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Juri Linkov, 2014/05/20
- bug#17439: 24.3.50; run-with-idle-timer runs on focus-out, Juri Linkov, 2014/05/20