diff options
author | Tom <tomut@yahoo.com> | 2021-06-27 14:40:51 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-28 17:02:37 +0200 |
commit | 30f531a55fbe9b928fad4a2722374a3736a9128a (patch) | |
tree | ee88d9403867b9293049c59bf47eb07ca1388d5e /Userland/Libraries/LibJS | |
parent | 2d4eb40f5951ff78d60470c9cc8f5d78d508ff6a (diff) | |
download | serenity-30f531a55fbe9b928fad4a2722374a3736a9128a.zip |
WindowServer: Fix menu location on screens other than main screen
The menus always thought they were being outside of the main screen,
which caused them to be left and/or top aligned. This also fixes the
calculation of the available space by using the screen rectangle where
it will be displayed.
Diffstat (limited to 'Userland/Libraries/LibJS')
0 files changed, 0 insertions, 0 deletions