Created attachment 3649 patch that adds new keybinding to toggle raise/lower a window I include a patch to add a new keybinding to xfwm4. The idea is to add a new keybinding action that raises a window if it's obscured by other windows, or lowers it if it's not. In effect it combines Raise Window and Lower Window into one toggling action. This feature is found in most other window managers and I really miss it in xfwm4. There's also an entry requesting this feature in the wishlist section of the wiki: "Add Amiga OS style z-order toggle button. (Logic: If the window is anywhere other than at the front of the z-order, bring it to the front, otherwise, send it to the back.)" The patch applies on top of current git master (commit 3fdb3ef440a).
Created attachment 3650 patch that adds new keybinding to toggle raise/lower a window I just noticed a stupid mistake in the patch. The TRACE line refers to variable 'wsibling' which is not defined in the new function. I copy/pasted those lines from function clientLower. Here's the corrected patch.
Created attachment 3654 patch that adds new keybinding to toggle raise/lower a window Fix overlap detection.
This functionality was added with commit 6fe0c571 in 4.10 I'm marking the bug as resolved.