Skip to content

fix focus loss on maximize with BorderlessMaximizedWindows=true

Andrey Butirsky requested to merge work/bam/fix_maximize into master

BUG: 411884

We also have an "Hide Window Border" and "Fullscreen" shortcuts also suffering this.
The patch suggested here solves them all.

Steps to reproduce:
place cursor somewhere on decoration and provoke any action removing the decoration.
Mouse focus gets lost but not the keyboard one.

Alternative implementation is here 77ca1c78 but I still see implementation here as preferable, see my comments there.

Edited by Andrey Butirsky

Merge request reports