focus: Include skip taskbar/pager when passing focus
By default, dialogs inherit the skip taskbar flag. However, when passing focus (e.g. when the currently focused window is unmapped), selecting an eligible window for focus transition would skip windows with the skip taskbar/pager flag.
As a result, closing a dialog transient to another dialog would give focus to the parent window.
To avoid that issue, make sure we include windows with skip taskbar/skip pager when searching for another window to transition focus.
Signed-off-by: Olivier Fourdan fourdan@xfce.org Closes: #740 (closed)
Edited by Olivier Fourdan