TKS you two!
and I wanna get next window get focus when moved a window to the other spaces, let me know if you done this,tis!
TKS you two!
and I wanna get next window get focus when moved a window to the other spaces, let me know if you done this,tis!
Itβs in v2.1.2.
You should update your totalspaces2 gem
gem update totalspaces2
and update your TotalSpaces2 by Checking for updates.
Then you should be able to call TotalSpaces2.set_front_window(windowID)
OH yes,works well,I love you stephen!
next_window = current_space_windows[1]
TotalSpaces2.set_front_window(next_window[:window_id])