[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Erratic Input Focus
From: |
Florian Beck |
Subject: |
Re: [STUMP] Erratic Input Focus |
Date: |
Wed, 03 Dec 2008 04:08:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> Symptom: When I select-window stumwm correctly switches to the desired
> window but keyboard input does not work (i.e. I cannot type).
No idea, anyone? Probably related: after I split windows (vsplit/hsplit)
I can double click the other window; sometimes that does change the
focus (and »Current Frame« is displayed in the other window), sometimes
it doesn't. What could be responsible?
For example, I have firefox and emacs side by side. Emacs has the focus.
If I click the firefox window, the focus changes (and stumpwm displays
»current frame«). Now firefox has the focus. Clicking the emacs frame
does *not* change the focus. However, emacs still responds to mouse
clicks (e.g. opens a file in dired or scrolls a buffer); nevertheless,
the focus remains in the other buffer, in this case firefox.
>
> This happens with two programs:
>
> - xterm
>
> I have this in my .stumpwmrc:
>
> (defcommand goto-shell () ()
> "Goto existing xterm."
> (select-window "address@hidden"))
>
> (define-key *top-map* (kbd "H-s") "goto-shell")
>
> H-s takes me to the shell, but (sometimes) I need to repeat H-s to be
> able to type.
>
> - emacs
>
> (define-key *top-map* (kbd "H-e") "select-window EmacsMain")
>
> I have several such definitions for several frames. Here, pressing H-e
> repeatedly does not help, I have to switch (randomly) between emacs
> frames before input works again.
>
> (info) shows the correct window?
>
> Any ideas? Hints how to debug this would be very helpful.
--
Viele Grüße,
Flo
- Re: [STUMP] Erratic Input Focus,
Florian Beck <=