Files
oak-gpui/crates
Max Brunsfeld 802911d742 Fix AppKit screen coordinate conversion leading to wrong window bounds (#2856)
Fixes
https://linear.app/zed-industries/issue/Z-1510/join-project-notification-takes-up-full-screen-on-a-second-monitor

There were multiple mistakes in the positioning of Zed's notification
windows, one of which lead to the notifications taking up the full
screen on secondary displays 😱 .
* Wrong sign for the vertical padding (moving the window *upward*
instead of downward)
* Using the screen's full frame instead of its "visible frame" (which
accounts for app menu bar)
* Wrong coordinate translation between our coordinates and AppKit's
coordinates. Regardless of which display a given window appears on, the
coordinate translation needs to use the height of the *main* display.

Release Notes:

- Fixed a bug where call notifications were accidentally full-screen on
all displays except the main display.
2023-08-17 16:24:46 -07:00
..
2023-08-15 03:06:43 -07:00
2023-08-16 19:47:54 -07:00
2023-08-15 03:06:43 -07:00
2023-08-15 03:06:43 -07:00
2023-08-17 01:09:01 -07:00
2023-08-15 03:06:43 -07:00
2023-08-15 03:06:43 -07:00
2023-08-15 03:06:43 -07:00
2023-07-14 16:09:02 -07:00
2023-08-15 15:32:14 -04:00
2023-08-15 03:06:43 -07:00
2023-08-16 23:38:11 +03:00
2023-07-23 21:36:29 -07:00
2023-02-27 12:06:10 -08:00
2023-08-15 03:06:43 -07:00
2023-08-15 03:06:43 -07:00
2023-06-02 22:02:19 -04:00
2023-06-02 22:02:19 -04:00
2023-08-16 19:47:54 -07:00
2023-08-16 23:38:11 +03:00
2023-08-03 18:57:43 -04:00
2023-06-29 22:25:49 +03:00
2023-08-16 23:38:11 +03:00
2023-08-01 10:40:38 -04:00
2023-06-02 22:02:19 -04:00
2023-08-16 19:47:54 -07:00
2023-06-30 22:03:21 +03:00
2023-08-16 23:38:11 +03:00
2023-08-16 19:47:54 -07:00
2023-06-22 18:06:52 +02:00
2023-08-16 23:38:11 +03:00