diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-09 14:35:30 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-04-10 14:50:08 -0400 |
commit | c67f2eac56518163981af59f5accb7c79bc00f6a (patch) | |
tree | d3bb0355f2c4033da8f40500923f2ef17d34e279 /dri3 | |
parent | 14be894b3f7976c133fc186e0e3c475606bab241 (diff) |
dix: always send focus event on grab change
Focus events are useless when 'from' and 'to' are the same. But when
this is the result of a (Un)GrabKeyboard request, we should always send
them, including when the window manager had previously used XSetInputFocus
to specify the focus on a window which happens to be now taking a grab.
This is notably needed for window manager using XI to always get keyboard
events even during grabs, so they can determine exactly when grabbing is
active.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dri3')
0 files changed, 0 insertions, 0 deletions