After closing the logout dialog (cancel or suspend/resume), window focus seems to be no longer controlled by xfwm4. XUL programs like Firefox don't show menus in this situation (https://bugzilla.mozilla.org/show_bug.cgi?id=829475). Steps to reproduce: 1. Open two windows with easily visible focus (e.g. teminals). 2. Open the logout dialog. 3. Cancel the dialog. 4. Move the mouse between the windows. Actual results: Focus follows the mouse (despite the "click to focus" setting), but the window decoration does not follow the focus. The normal behaviour is restored after manually switching windows or workspaces. Expected results: Unchanged focus behaviour. Additional information: This issue also occurs with kwin or icewm, but not with metacity/marco or openbox. It seems like it was not present in 4.8 (https://bugzilla.mozilla.org/show_bug.cgi?id=829475#c5).