window dragging event handling
Dragging a window on a toggle button in the headerbar has the side-effect of making the button appear toggled (without triggering the action). I can make all 4 buttons in the widget-factory stackswitcher appear depressed at the same time, by dragging the window around a few times.