mirror of
https://github.com/servo/servo.git
synced 2025-07-16 03:43:38 +01:00
1. Rename `GetWindowSize` to `GetWindowRect` 2. Return the WindowRect in device pixels correctly. Previously, it returns `(0, 0, ScreenWidth, ScreenHeight)` which is a static value. 3. Add `fn window_rect` to `WindowPortsMethods`. Implement it for both Headless Window and Headed Window. Testing: Tested manually with powershell script. Result is now dynamic and reflects the truth. Fixes: Task 1 & 2 of https://github.com/servo/servo/issues/37804 --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> |
||
---|---|---|
.. | ||
browsingcontext.rs | ||
Cargo.toml | ||
constellation.rs | ||
constellation_webview.rs | ||
event_loop.rs | ||
lib.rs | ||
logging.rs | ||
pipeline.rs | ||
process_manager.rs | ||
sandboxing.rs | ||
serviceworker.rs | ||
session_history.rs | ||
tracing.rs | ||
webview_manager.rs |