Caused/exposed by rBaf9ca138ba7b
Also relevant was rB828905190e12
Above commits moved the WM_UI_HANDLER_BREAK around so it would not be
returned anymore.
Still reading my way though UI handlers, but it seems (at least for the
Image Editor?) that we need this, otherwise we wont get through to to
KM_RELEASE. There are two places that explicitly check for KM_RELEASE
(call to ui_do_but_extra_operator_icon in both
ui_do_but_SEARCH_UNLINK / ui_do_button), and without the above we
only ever get here with KM_PRESS.
Possibly this has even other (deeper) causes, but this patch restores
the behavior regarding WM_UI_HANDLER_BREAK to what is was before the two
culprit commits.
Checked that both this report (T72089) and T69755 are working.