mirror of
https://github.com/flameshot-org/flameshot.git
synced 2026-12-04 06:54:50 +00:00
03fa5c88d6
Qt::WindowStaysOnTopHint maps to NSFloatingWindowLevel (8), which is below the Dock (20) and the menu bar (24). Both were drawn over the capture overlay, so the top and bottom of the screen could not be selected and the tool buttons could end up hidden behind the Dock. Set the overlay window level to NSMainMenuWindowLevel + 2, which is still below pop-up menus so Qt menus remain visible. Fixes #4097 Fixes #4346 Fixes #4825