tdrop: bspwm. tdrop opens the application on wrong desktop (bspc-monitor)

In order to reproduce this bug, do the following:

  1. Twice execute (open & close) on particular bspc-monitor: tdrop -am -h 60% -w 50% -y 25 -x 25% app
  2. Change bspc-monitor
  3. Execute tdrop -am -h 60% -w 50% -y 25 -x 25% app again for opening on NEW monitor
  4. 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

Most upvoted comments

I will investigate if there is some more generic solution. If not, I will merge your PR. Thanks!

image I found decision: you should to delete or comment 457 line of script. Also i forked and you can just take script from this repo: https://github.com/devpeskov/tdrop

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.

I guess the Arch repositories have not updated the package there.

tdrop is not my package and is not supported or recommended. Use tdrop-git.

Thanks all!