FS#62294 - [dmenu] screw up window/keyboard focus
Attached to Project:
Community Packages
Opened by David '-1' Schmid (gdkags) - Wednesday, 10 April 2019, 11:23 GMT
Last edited by Toolybird (Toolybird) - Friday, 21 April 2023, 07:20 GMT
Opened by David '-1' Schmid (gdkags) - Wednesday, 10 April 2019, 11:23 GMT
Last edited by Toolybird (Toolybird) - Friday, 21 April 2023, 07:20 GMT
|
Details
dmenu 4.9 contains a bug that will screw up window/keyboard
focus and redirecting input to the correct window.
It was fixed upstream (db6093f6ec1bb884f7540f2512935b5254750b30), I applied the fixes to a local build and works as expected. Additional info: * package version(s) 4.9-1 * link to upstream bug report, if any https://git.suckless.org/dmenu/commit/db6093f6ec1bb884f7540f2512935b5254750b30.html seems related to https://bugs.archlinux.org/task/61673 * Steps to reproduce: unsure. for me it's with i3-wm+dmenu: 1. open up a terminal 2. position mouse pointer on i3 bar or somewhere else, where it won't touch a new window. 3. launch another terminal through dmenu (or anything really); it should be focused automatically. 4. do some keyboard input and observe text appearing in unfocused terminal. |
This task depends upon
makepkg -o && git apply --directory=src/dmenu-4.9 ~/patch.diff
makepkg -e
use attached patch.diff or generate it for yourself by executing:
git clone git://git.suckless.org/dmenu && cd dmenu
git diff a9b1de384ae1ad30805e893af5cd6ea9b87c89da..db6093f6ec1bb884f7540f2512935b5254750b30 > ~/patch.diff