diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2017-10-05 16:54:38 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2017-10-05 16:54:38 -0700 |
commit | 55e7b6fa5bbb84dc8f2689ff674b27706ffe5ef3 (patch) | |
tree | 1d152a7fa0c7f09fd0652f8f9720393d9ebbee3f /src/key.h | |
parent | 7096b3b6c1325630d18e5d61aac58f9c3772b8e1 (diff) |
*: handle FocusIn events
Some programs call XSetInputFocus(), so we should select
FocusChangeEvent and handle FocusIn events, calling vwm_win_set_focus()
when appropriate.
It's rare, but SDL2 programs in particular seem to do this and vwm gets
in a pretty annoying state when it does occur. This change should
improve the situation.
Diffstat (limited to 'src/key.h')
0 files changed, 0 insertions, 0 deletions