PDA

View Full Version : [xubuntu] does wmctrl -s wait for completion of the workspace switch?



Skaperen
October 6th, 2019, 06:32 AM
i am coding a script to run programs in a particular workspace. it first invokes wmctrl -s ${workspace} to switch to the desired workspace. but it can take time to switch workspace, have the previous windows hidden, and have target workspace windows exposed. what i am wanting to know is whether it waits for this to be complete before exiting or if the window manager could still be doing it when the script resumes.