Skip to content
Commit bd681c3c authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix the titlebar visibility check for small windows

Consider a window with the size of 50x100 and the titlebar height of 36px.
The maximum number of visible titlebar pixels is 1800, but the
titleBarRect() function reports 3600 instead, which is completely wrong.

Since the reported number of required visible pixels is wrong, the window
geometry constraining logic is mistriggered and it's possible to move the
window only by 1px.
parent 808ff015
Pipeline #636468 passed with stage
in 7 minutes and 20 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment