]> git.gir.st - VimFx.git/commit
Re-implement popup passthrough more robustly
authorSimon Lydell <simon.lydell@gmail.com>
Sun, 26 Jan 2014 15:58:55 +0000 (16:58 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Sun, 26 Jan 2014 15:58:55 +0000 (16:58 +0100)
commit468ed83a6808717fd5bca086ecf8ed2e65933fa8
tree98de836aad67c966d214673f2b5abf1a69d0a968
parent79946cf7bf0346ea21e1c1376c06b032236c0883
Re-implement popup passthrough more robustly

Commit 35f48d24bf5c broke popup passthrough a bit, unfortunately. It
works for the context menu, but not for the menu bar.

It is time to ditch the unreliable onpopupshowing/onpopuphiding and
checking properties on root windows for determining if popups are open.

Now we simply just loop through all menupopups and panels and check if
any of them are open. If so, don’t do anything. Otherwise, proceed as
normal.
extension/packages/events.coffee
Imprint / Impressum