BWindow: Fix keyboard handling bug.hrev50033
commit7a3892f439dc8202562dec1b4e684b21c30cc497
authorRene Gollent <rene@gollent.com>
Thu, 14 Jan 2016 23:55:33 +0000 (14 18:55 -0500)
committerRene Gollent <rene@gollent.com>
Sat, 16 Jan 2016 01:31:26 +0000 (15 20:31 -0500)
tree83356711655b560bfc7f9ea9cd446e18a9541c48
parent2eb5cc49abb30e9c9644642ebafc697b8adf05d7
BWindow: Fix keyboard handling bug.

- In the case of certain messages that are dispatched from the
  app_server with multiple target tokens (i.e. due to an attached
  view that has a mouse or keyboard event mask set), we need to
  strip the focus flag from the message before passing it to the
  non-focus views. Fixes a bug observed via Clipdinger where the
  aforementioned circumstance would result in all keyboard shortcuts
  being invoked multiple times.
src/kits/interface/Window.cpp