Here is the script I'm currently using to rescue stuck windows - activating them has the nice side-effect of bringing them back to their original Workspace as well.
#!/bin/bash # # Resets all Windows after triggering Ubuntu/VirtualBox windowing bug # # @todo Filter out windows we don't need, using grep for window in `wmctrl -l | cut -d " " -f 1`; do # Debugging #echo $window # Looks like doing just one axis doesn't work wmctrl -i -r $window -b toggle,maximized_vert,maximized_horz wmctrl -i -r $window -b toggle,maximized_vert,maximized_horz # Activate them as well wmctrl -R $window done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1514065 Title: Windows move in workspaces after a window resize event To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz-plugins-main/+bug/1514065/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs