tdrop: bspwm. tdrop opens the application on wrong desktop (bspc-monitor)
In order to reproduce this bug, do the following:
- Twice execute (open & close) on particular bspc-monitor:
tdrop -am -h 60% -w 50% -y 25 -x 25% app - Change bspc-monitor
- Execute
tdrop -am -h 60% -w 50% -y 25 -x 25% appagain for opening on NEW monitor - You will be thrown to the previous monitor, and app will be open there
You can see example here
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 18 (16 by maintainers)
Commits related to this issue
- Fix activation window on another desktop - bspwm. issue #369 — committed to peskovdev/tdrop by peskovdev 2 years ago
- Fix issue #369 — committed to peskovdev/tdrop by peskovdev 9 months ago
- Run windowmap commands with --sync flag This will ensure that tdrop waits until the window is mapped before activating it. Otherwise tdrop can incorrectly focus another desktop. Fixes issue #369 — committed to peskovdev/tdrop by peskovdev 9 months ago
I will investigate if there is some more generic solution. If not, I will merge your PR. Thanks!
Author said about this: “windowmap does not activate for all window managers” But in my case, without this line - everything is OK. Perhaps the author added this option to make tdrop work on little-known wm. But it broke script on bspwm.
tdrop is not my package and is not supported or recommended. Use tdrop-git.
Thanks all!