Skip to content

xwayland: send focus change event unconditionally

Simon Ser requested to merge github/fork/Xyene/xwm-send-focus into master

Created by: Xyene

This fixes issues with (at least) dialogs in Jetbrains IDEs becoming unclickable if they ever lost focus (ref. swaywm/sway#5373). Prior to this change, since xwm->focus_surface would be set prior to xwm_surface_activate being called, the latter would short-circuit immediately and not notify the application of the focus change.

Merge request reports