According to https://tronche.com/gui/x/icccm/sec-4.html#s-4.1.7 we should send this focus notification only if a client has WM_TAKE_FOCUS set in their WM_PROTOCOLS property. We've been sending it unconditionally. Rather, we've been not-sending it unconditionally because the event mask is wrong, but that will be fixed in a future commit. Fixing the event mask first would break some clients (such as xterm). Co-authored-by: Steve Pronovost <spronovo@microsoft.com> Co-authored-by: Brenton DeGeer <brdegeer@microsoft.com> Signed-off-by: Hideyuki Nagase <hideyukn@microsoft.com> Signed-off-by: Steve Pronovost <spronovo@microsoft.com> Signed-off-by: Brenton DeGeer <brdegeer@microsoft.com>dev
parent
6e529cb6ab
commit
55b2bf9393
Loading…
Reference in new issue