cdown/dwm

attachaside is bypassed when creating a new client on another tag

Closed this issue · 1 comments

attachaside is bypassed when creating a new client on another tag
cdown commented

This can't happen with the way attachaside works right now. It uses nexttiled to find the next tiled client on screen, but that's no good.

I think to make this work, we need to:

  1. Find the next client that is on a certain tag
  2. Get the current ->next of that client and store it
  3. Set the current client to be the ->next of that client
  4. Set the old ->next of that client to be the ->next of the current client