xwem-devel
[Top] [All Lists]

Re: [XWEM Bug] Mozilla loses keyboard focus

From: Steve Youngs <steve@xxxxxxxx>
Subject: Re: [XWEM Bug] Mozilla loses keyboard focus
Date: Fri, 15 Apr 2005 21:47:42 +1000
Organization: The XWEM Project
User-agent: Gnus/5.110003 (No Gnus v0.3) SXEmacs/22.1.2 (Audi, linux)
* Zajcev Evgeny <zevlg@xxxxxxxxx> writes:

  > Zajcev Evgeny <zevlg@xxxxxxxxx> writes:
  >> (defun my-xwem-select-frame-hook ()
  >> "Select or deselect xwem minibuffer.
  >> Make xwem minibuffer be conditionally selected, when its emacs frame
  >> selected."
  >> (if (eq (selected-frame) (xwem-minib-frame xwem-minibuffer))
  >> (xwem-select-client (xwem-minib-cl xwem-minibuffer))
  >> (when (xwem-cl-selected-p (xwem-minib-cl xwem-minibuffer))
  >> (xwem-select-client (xwem-last-client)))))
  >> 
  >> (add-hook 'select-frame-hook 'my-xwem-select-frame-hook)
  >> 

  > Hmm, Steve, can you also try out this hack (i heard you are have nil
  > value for `xwem-minibuffer-emacs-frames-has-minibuffer').

I tried it for a while.  But at one point I switched to my Gnus
SXEmacs frame and XWEM started doing some funky shit.  It looked like
it was in an infloop switching between the xwem-minibuffer frame and
the SXEmacs client frame and back again.  H-G broke out of the loop.
I then remove-hook'd it.

  > Does it makes any sense for you?

Not particularly no.

I have noticed some strange things happening lately.  Occasionally, I
might do something like C-x b or C-x k and point ends up in the
xwem-minibuffer and the action I wanted (switching buffer/killing
buffer) is stalled.  H-G fixes it.

I've seen it with XWEM things too, like I might switch clients with
H-[ or H-x j x and it'll happen in the middle of those.

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|                        In space,                         |
|             No one can hear you rip a stinky             |
|---------------------------------------<steve@xxxxxxxx>---|

Attachment: pgpg1fy5iCXNK.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>