]> git.sur5r.net Git - i3/i3/commit
Bugfix: Either use SetInputFocus *or* send WM_TAKE_FOCUS, not both
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 17 Jan 2012 23:33:33 +0000 (23:33 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 17 Jan 2012 23:33:33 +0000 (23:33 +0000)
commit21a2971b2442ab0881cf79553cc6b65bbb44afa7
treef0b83bc44720d61530a126786ce31a1a8c1adb14
parentaf73d3bffed2757ff8740eff474b03d67c39a774
Bugfix: Either use SetInputFocus *or* send WM_TAKE_FOCUS, not both

This fixes problems with the Oracle JRE7, which checks the current focus after
receiving WM_TAKE_FOCUS and just does nothing when the focus is on one of its
windows. Hopefully it doesn’t introduce any regressions :).
src/x.c