This simplifies things a bit, and only displays the applet when
there's a laptop panel that's capable of rotation. It should
remain hidden for desktopsm and will only ever show a single
monitor.
popup menus: Add a new signal to be fired when a menu finishes
animating closed.
This is opposed to open-state-changed, which fires immediately
without waiting for any close animation to finish.
This gives us an alternative to open-state-changed for performing
actions that may affect the visibility of elements in the menu while
it's being animated.
We may or may not want `st-background-effect.h` and/or `cinnamon-recorder.h` to be included in the docs in the future, but for now, docs without them is still better than no docs at all.
windowManager.js: fix window placement after workspace switch animation
After a completed or canceled workspace switch, the position of windows in the origin workspace were reset, but the positions of the windows in the destination workspace weren't. This is fine when the tween is allowed to complete because the window ends up right where it's supposed to be, but if the tween is canceled mid-animation (ie. due to another workspace switch), then the coordinates for those windows for the next animation are where ever the window happened to be when the previous tween was canceled, which in turn means that it ends up in the wrong spot. Resetting the position for the destination workspace windows fixes this issue.